From 282a85000e8c10fd9955f76289135695dc1a5f8e Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Tue, 29 Nov 2022 13:55:15 -0700 Subject: [PATCH] add wagent enable --- Rocky-9-Azure-Base.ks | 2 ++ Rocky-9-Azure-LVM.ks | 2 ++ cloud/rocky-azure-base.ks | 2 ++ cloud/rocky-azure-lvm.ks | 2 ++ 4 files changed, 8 insertions(+) diff --git a/Rocky-9-Azure-Base.ks b/Rocky-9-Azure-Base.ks index 1cdb7fe..16e3050 100644 --- a/Rocky-9-Azure-Base.ks +++ b/Rocky-9-Azure-Base.ks @@ -42,6 +42,8 @@ part / --fstype="xfs" --size=8000 --mkfsoptions="-m bigtime=0,inobtcount=0" passwd -d root passwd -l root +systemctl enable waagent + # Attempting to force legacy BIOS boot if we boot from UEFI if [ "$(arch)" = "x86_64" ]; then dnf install grub2-pc-modules grub2-pc -y diff --git a/Rocky-9-Azure-LVM.ks b/Rocky-9-Azure-LVM.ks index 55d8644..5ccd10d 100644 --- a/Rocky-9-Azure-LVM.ks +++ b/Rocky-9-Azure-LVM.ks @@ -44,6 +44,8 @@ logvol / --grow --size=8000 --mkfsoptions="-m bigtime=0,inobtcount=0" --name=roo passwd -d root passwd -l root +systemctl enable waagent + # Attempting to force legacy BIOS boot if we boot from UEFI if [ "$(arch)" = "x86_64" ]; then dnf install grub2-pc-modules grub2-pc -y diff --git a/cloud/rocky-azure-base.ks b/cloud/rocky-azure-base.ks index 9e4066c..51e00cb 100644 --- a/cloud/rocky-azure-base.ks +++ b/cloud/rocky-azure-base.ks @@ -8,6 +8,8 @@ bootloader --append="rootdelay=300 console=ttyS0 earlyprintk=ttyS0 no_timer_che passwd -d root passwd -l root +systemctl enable waagent + # Attempting to force legacy BIOS boot if we boot from UEFI if [ "$(arch)" = "x86_64" ]; then dnf install grub2-pc-modules grub2-pc -y diff --git a/cloud/rocky-azure-lvm.ks b/cloud/rocky-azure-lvm.ks index 2caa75b..0ec8fae 100644 --- a/cloud/rocky-azure-lvm.ks +++ b/cloud/rocky-azure-lvm.ks @@ -8,6 +8,8 @@ bootloader --append="rootdelay=300 console=ttyS0 earlyprintk=ttyS0 no_timer_che passwd -d root passwd -l root +systemctl enable waagent + # Attempting to force legacy BIOS boot if we boot from UEFI if [ "$(arch)" = "x86_64" ]; then dnf install grub2-pc-modules grub2-pc -y