diff options
author | Richard Jones <rjones@redhat.com> | 2010-09-08 11:00:00 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2010-09-08 11:00:00 +0100 |
commit | d5c8d3b45b9646a4ae9d4ea033e1cc13a6e25c1f (patch) | |
tree | 5a98c63031a12a13647019e2eca5190ce473febf /src | |
parent | 574df371a0421b4b83386f43e5095ccea5069e5b (diff) | |
download | libguestfs-d5c8d3b45b9646a4ae9d4ea033e1cc13a6e25c1f.tar.gz libguestfs-d5c8d3b45b9646a4ae9d4ea033e1cc13a6e25c1f.tar.xz libguestfs-d5c8d3b45b9646a4ae9d4ea033e1cc13a6e25c1f.zip |
fish: Add guestfish -N bootroot and -N bootrootlv for creating boot+root disks.
Diffstat (limited to 'src')
-rwxr-xr-x | src/generator.ml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/generator.ml b/src/generator.ml index 5c2ffebe..03638deb 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -5677,6 +5677,29 @@ let prepopts = [ creating a 100MB disk with the VG and LV called /dev/VG/LV, with an ext2 filesystem."); + ("bootroot", + "create a boot and root filesystem", + [ "bootfs", "ext2", "the type of filesystem to use for boot"; + "rootfs", "ext2", "the type of filesystem to use for root"; + "size", "100M", "the size of the disk image"; + "bootsize", "32M", "the size of the boot filesystem"; + "partition", "mbr", "partition table type" ], + " Create a disk with two partitions, for boot and root filesystem. + Format the two filesystems independently. There are several optional + parameters which control the exact layout and filesystem types."); + + ("bootrootlv", + "create a boot and root filesystem using LVM", + [ "name", "/dev/VG/LV", "the name of the VG and LV for root"; + "bootfs", "ext2", "the type of filesystem to use for boot"; + "rootfs", "ext2", "the type of filesystem to use for root"; + "size", "100M", "the size of the disk image"; + "bootsize", "32M", "the size of the boot filesystem"; + "partition", "mbr", "partition table type" ], + " This is the same as 'bootroot' but the root filesystem (only) is + placed on a logical volume, named by default '/dev/VG/LV'. There are + several optional parameters which control the exact layout."); + ] (* Used to memoize the result of pod2text. *) |