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:
1 parent
7497716476
commit
78ea0154a4
1 file changed
+3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user