diff options
Diffstat (limited to 'wic/directdisk-xen.wks')
-rw-r--r-- | wic/directdisk-xen.wks | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/wic/directdisk-xen.wks b/wic/directdisk-xen.wks new file mode 100644 index 00000000..d6ca46a4 --- /dev/null +++ b/wic/directdisk-xen.wks @@ -0,0 +1,10 @@ +# short-description: Create a 'pcbios' direct disk image with Xen hypervisor +# long-description: Creates a partitioned legacy BIOS disk image to boot Xen +# that the user can directly dd to boot media. Boot files are located on the +# first vfat partition. + +part /boot --source bootimg-biosxen --ondisk sda --label boot --active --align 1024 + +# For the main partition, it can be useful to add additional space for VMs: +# eg. increase partition size by appending: --size 10G +part / --source rootfs --ondisk sda --use-uuid --fstype=ext4 --label root --align 1024 |