aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/canned-wks/systemd-bootdisk.wks
blob: d80189bcb76f7a3e9d5caa36f3375ebe69932cb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
# short-description: Create an EFI disk image with systemd-boot
# long-description: Creates a partitioned EFI disk image that the user
# can directly dd to boot media. The selected bootloader is systemd-boot.

part /boot --source bootimg-efi --sourceparams="loader=systemd-boot" --ondisk sda --label msdos --active --align 1024

part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024

part swap --ondisk sda --size 44 --label swap1 --fstype=swap

bootloader  --timeout=10  --append="rootwait rootfstype=ext4 console=ttyPCH0,115200 console=tty0 vmalloc=256MB snd-hda-intel.enable_msi=0"