search for: abf227901

Displaying 1 result from an estimated 1 matches for "abf227901".

Did you mean: abf2279
2020 Feb 19
1
[PATCH] ruby: change value of 'readonly' drive toption to Boolean in doc/example/test
....new() g.add_drive_opts("disk.img", - :readonly => 1, :format => "raw") + :readonly => true, :format => "raw") g.launch() =head1 DESCRIPTION diff --git a/ruby/examples/inspect_vm.rb b/ruby/examples/inspect_vm.rb index abf227901..d444e01a2 100644 --- a/ruby/examples/inspect_vm.rb +++ b/ruby/examples/inspect_vm.rb @@ -11,7 +11,7 @@ disk = ARGV[0] g = Guestfs::Guestfs.new() # Attach the disk image read-only to libguestfs. -g.add_drive_opts(disk, :readonly => 1) +g.add_drive_opts(disk, :readonly => true) # Run the...