Skip to content

Commit 7533de5

Browse files
committed
disabling waagent changed for rootpassword on ubuntu
1 parent ce967dd commit 7533de5

File tree

1 file changed

+3
-1
lines changed
  • parts/linux/cloud-init/artifacts

1 file changed

+3
-1
lines changed

parts/linux/cloud-init/artifacts/cis.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ configureLimits() {
301301
EOF
302302
}
303303

304+
# Configure waagent to not delete root password on first boot
304305
configureAzureAgent() {
305306
sed -i -e 's/\(Provisioning.DeleteRootPassword\).*/\1=n/' /etc/waagent.conf
306307
}
@@ -323,7 +324,8 @@ applyCIS() {
323324
configureSudo
324325
configureRootPath
325326
configureLimits
326-
configureAzureAgent
327+
# configureAzureAgent -- Disabling this for now, until we sync with waagent team on desired behavior.
328+
327329
# Apply system configuration to running system
328330
sysctl --write --system
329331
}

0 commit comments

Comments
 (0)