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.
This commit is contained in:
Jeremy Cline 2024-02-22 16:08:44 -05:00 committed by ngompa
parent 7497716476
commit 78ea0154a4

View File

@ -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