From 78ea0154a4fac4e92f75304b868dbc40c7bbf47e Mon Sep 17 00:00:00 2001 From: Jeremy Cline Date: Thu, 22 Feb 2024 16:08:44 -0500 Subject: [PATCH] azure: enable the Azure Linux Agent service The WALinuxAgent package was already being installed, but the service was enabled. This ensures it'll start when the VM is created. --- config.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.sh b/config.sh index f2203e2..23a7ad2 100755 --- a/config.sh +++ b/config.sh @@ -117,6 +117,9 @@ cat >> /etc/chrony.conf << EOF # https://docs.microsoft.com/en-us/azure/virtual-machines/linux/time-sync#check-for-ptp-clock-source refclock PHC /dev/ptp_hyperv poll 3 dpoll -2 offset 0 EOF + +# Enable the Azure Linux Agent service +systemctl enable waagent.service fi if [[ "$kiwi_profiles" == *"GCE"* ]]; then