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