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