File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ local_config="/init.conf"
1717# packages that need to be installed
1818system_packages=" base cloud-init cloud-utils openssh mkinitcpio"
1919# systemd services that need to be enabled
20- system_services=" systemd-networkd systemd-resolved sshd cloud-init-local cloud-init cloud-config cloud-final"
20+ system_services=" systemd-networkd systemd-resolved sshd cloud-init-local cloud-init-main cloud-config cloud-final"
2121# kernel modules that get added to /etc/mkinitcpio
2222initcpio_modules=" virtio virtio_pci virtio_blk virtio_net virtio_ring"
2323# block device parition with root fs, minus the /dev/ part
@@ -118,6 +118,10 @@ parse_environment(){
118118install_syslinux () {
119119 submsg " Configuring Syslinux Bootloader"
120120 local -i exit_n=0
121+ # As per wiki - March 2025
122+ mkdir -p /boot/syslinux
123+ cp /usr/lib/syslinux/bios/* .c32 /boot/syslinux/
124+ extlinux --install /boot/syslinux
121125 syslinux-install_update -i -a -m || exit_n+=1
122126 sed -i s/sda3/${root_part} /g /boot/syslinux/syslinux.cfg || exit_n+=1
123127 sed -i s/initramfs-linux/initramfs-${KERNEL} /g /boot/syslinux/syslinux.cfg || exit_n+=1
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ DEB_BASE_PACKAGES="cloud-init cloud-initramfs-growroot cloud-guest-utils openssh
2020REDHAT_BASE_PACKAGES=" openssh-server cloud-init"
2121REDHAT_BASE_GROUPS=" Base"
2222BASE_SYSTEM_SERVICES=" sshd cloud-init-local cloud-init-main cloud-config cloud-final"
23+ BASE_SYSTEM_SERVICES_ARCH=" sshd cloud-init-local cloud-init-main cloud-config cloud-final"
2324BASE_INITRAMDISK_MODULES=" virtio virtio_pci virtio_blk virtio_net virtio_ring"
2425SCRIPT_BASE_DIR=" /usr/share/disk-image-scripts"
2526PACKAGE_LIST_FILE=" addedpacks"
You can’t perform that action at this time.
0 commit comments