From 7886b88c8603748dfd6e74e30444e79fd0073292 Mon Sep 17 00:00:00 2001 From: GI_Jack Date: Sun, 2 Mar 2025 00:49:10 -0800 Subject: [PATCH 1/3] added seperate item for BASE_SYSTEM_SERVICES_ARCH --- gen_cloud_template.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/gen_cloud_template.sh b/gen_cloud_template.sh index 36c9a94..c29c081 100755 --- a/gen_cloud_template.sh +++ b/gen_cloud_template.sh @@ -20,6 +20,7 @@ DEB_BASE_PACKAGES="cloud-init cloud-initramfs-growroot cloud-guest-utils openssh REDHAT_BASE_PACKAGES="openssh-server cloud-init" REDHAT_BASE_GROUPS="Base" BASE_SYSTEM_SERVICES="sshd cloud-init-local cloud-init-main cloud-config cloud-final" +BASE_SYSTEM_SERVICES_ARCH="sshd cloud-init-local cloud-init-main cloud-config cloud-final" BASE_INITRAMDISK_MODULES="virtio virtio_pci virtio_blk virtio_net virtio_ring" SCRIPT_BASE_DIR="/usr/share/disk-image-scripts" PACKAGE_LIST_FILE="addedpacks" From 59548b849328009b7a461fcd16cf7a04e4652856 Mon Sep 17 00:00:00 2001 From: GI_Jack Date: Sun, 2 Mar 2025 00:51:19 -0800 Subject: [PATCH 2/3] updated cloud-init systemd units for Arch Linux --- autorun/init.arch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autorun/init.arch.sh b/autorun/init.arch.sh index b7373fd..3f76099 100644 --- a/autorun/init.arch.sh +++ b/autorun/init.arch.sh @@ -17,7 +17,7 @@ local_config="/init.conf" # packages that need to be installed system_packages="base cloud-init cloud-utils openssh mkinitcpio" # systemd services that need to be enabled -system_services="systemd-networkd systemd-resolved sshd cloud-init-local cloud-init cloud-config cloud-final" +system_services="systemd-networkd systemd-resolved sshd cloud-init-local cloud-init-main cloud-config cloud-final" # kernel modules that get added to /etc/mkinitcpio initcpio_modules="virtio virtio_pci virtio_blk virtio_net virtio_ring" # block device parition with root fs, minus the /dev/ part From 5cc5085917c65fcc369324f2f534f3bb9289de47 Mon Sep 17 00:00:00 2001 From: GI_Jack Date: Thu, 6 Mar 2025 10:38:24 -0800 Subject: [PATCH 3/3] updated bootloader install for march 2025, this is needed now I guess --- autorun/init.arch.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autorun/init.arch.sh b/autorun/init.arch.sh index 3f76099..aa341d3 100644 --- a/autorun/init.arch.sh +++ b/autorun/init.arch.sh @@ -118,6 +118,10 @@ parse_environment(){ install_syslinux() { submsg "Configuring Syslinux Bootloader" local -i exit_n=0 + # As per wiki - March 2025 + mkdir -p /boot/syslinux + cp /usr/lib/syslinux/bios/*.c32 /boot/syslinux/ + extlinux --install /boot/syslinux syslinux-install_update -i -a -m || exit_n+=1 sed -i s/sda3/${root_part}/g /boot/syslinux/syslinux.cfg || exit_n+=1 sed -i s/initramfs-linux/initramfs-${KERNEL}/g /boot/syslinux/syslinux.cfg || exit_n+=1