Created
November 19, 2015 17:44
-
-
Save john5223/840ffd56a8670acda1f3 to your computer and use it in GitHub Desktop.
cloud-init
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stacker@atl-controller:~$ cat cloud-init.yaml | |
#cloud-config | |
# vim:syntax=yaml | |
debug: True | |
ssh_pwauth: True | |
disable_root: False | |
chpasswd: | |
list: | | |
root:ramnode | |
ubuntu:ramnode | |
cirros:ramnode | |
expire: false | |
runcmd: | |
- sed -i'.orig' -e's/without-password/yes/' /etc/ssh/sshd_config | |
- service sshd restart | |
- service ssh restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment