X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2Fgenerator.ml;h=ba97debe0b5c3ea64f6c2d4180bef3986b68c216;hb=b55bf8158f0b7f6b1760b7b3b5f7c1274a149127;hp=04445ee6c7177731bfe3e799ae13ff4d0fed7103;hpb=0fea1c76712c3c9a8e4309aa0b325e48a0a935b8;p=libguestfs.git diff --git a/src/generator.ml b/src/generator.ml index 04445ee..ba97deb 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -1683,6 +1683,15 @@ How many blocks are zeroed isn't specified (but it's I enough to securely wipe the device). It should be sufficient to remove any partition tables, filesystem superblocks and so on."); + ("grub_install", (RErr, [String "root"; String "device"]), 86, [], + [InitBasicFS, TestOutputTrue ( + [["grub_install"; "/"; "/dev/sda1"]; + ["is_dir"; "/boot"]])], + "install GRUB", + "\ +This command installs GRUB (the Grand Unified Bootloader) on +C, with the root directory being C."); + ]