summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/lib/wic/canned-wks/generic-bootdisk.wks.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/lib/wic/canned-wks/generic-bootdisk.wks.in b/scripts/lib/wic/canned-wks/generic-bootdisk.wks.in
new file mode 100644
index 0000000..31c708b
--- /dev/null
+++ b/scripts/lib/wic/canned-wks/generic-bootdisk.wks.in
@@ -0,0 +1,6 @@
1# based off of refkit's refkit-directdisk.wks.in kickstart template
2# uses the image's boot directory to populate a vfat boot partition,
3# which works with EFI.
4bootloader --ptable gpt
5part /boot --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/boot --fstype=vfat --label msdos --active --align 1024 --use-uuid
6part / --source rootfs --fstype=ext4 --label root --align 1024 --uuid ${DISK_SIGNATURE_UUID}