We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5acbf9b commit 9de06d3Copy full SHA for 9de06d3
1 file changed
parts/linux/cloud-init/artifacts/cis.sh
@@ -299,6 +299,7 @@ configureLimits() {
299
EOF
300
}
301
302
+# Configure waagent to not delete root password on first boot
303
configureAzureAgent() {
304
sed -i -e 's/\(Provisioning.DeleteRootPassword\).*/\1=n/' /etc/waagent.conf
305
@@ -321,7 +322,8 @@ applyCIS() {
321
322
configureSudo
323
configureRootPath
324
configureLimits
- configureAzureAgent
325
+ # configureAzureAgent -- Disabling this for now, until we sync with waagent team on desired behavior.
326
+
327
# Apply system configuration to running system
328
sysctl --write --system
329
0 commit comments