Openstack
cloud-init sample
CentOS Sample #cloud-config ssh_pwauth: True disable_root: false chpasswd: list: | root:test1234 expire: False runcmd: - sed -i 's/#PermitRootLogin yes/PermitRootLogin yes/' /etc/ssh/sshd_config - sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/' /etc/ssh/sshd_config - systemctl restart sshd - setenforce 0 - sed -i 's/enforcing/disabled/g' /etc/selinux/config - systemctl disable f..
2023. 7. 31. 20:39