aboutsummaryrefslogtreecommitdiff
path: root/config.sh
diff options
from:
to:
context:
space:
mode:
authorGravatar Jeremy Cline <jeremycline@microsoft.com> 2024-02-22 16:08:44 -0500
committerGravatar ngompa <ngompa13@gmail.com> 2024-02-23 00:31:35 +0000
commit78ea0154a4fac4e92f75304b868dbc40c7bbf47e (patch)
tree8b743a6178791f6b54986b715b72fc0cb46116fd /config.sh
parent749771647624e6be1f574fbf31b60aa0f90d0bbc (diff)
downloadkiwi-descriptions-78ea0154a4fac4e92f75304b868dbc40c7bbf47e.tar.gz
kiwi-descriptions-78ea0154a4fac4e92f75304b868dbc40c7bbf47e.zip
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.
Diffstat (limited to 'config.sh')
-rwxr-xr-xconfig.sh3
1 files changed, 3 insertions, 0 deletions
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