Created
June 17, 2015 19:47
-
-
Save skarllot/4b4e3b2052f3626e0fa6 to your computer and use it in GitHub Desktop.
Cloud init
This file contains hidden or 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
| instance-id: server1 | |
| local-hostname: server1.example.com | |
| network-interfaces: | | |
| iface ens160 inet static | |
| address 192.168.1.10 | |
| network 192.168.1.0 | |
| netmask 255.255.255.0 | |
| broadcast 192.168.1.255 | |
| gateway 192.168.1.1 | |
| bootcmd: | |
| - ifdown ens160 | |
| - ifup ens160 |
This file contains hidden or 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
| #cloud-config | |
| password: password | |
| ssh_pwauth: True | |
| chpasswd: { expire: False } | |
| ssh_authorized_keys: | |
| - ssh-rsa AAAAB3 ... 9xB user@example.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment