Last active
August 29, 2015 14:10
-
-
Save aweiteka/094327f0ca87a8bac78d to your computer and use it in GitHub Desktop.
atomic on openstack using 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
#!/bin/bash | |
nova boot --flavor m1.medium --poll --image RHEL-Atomic-Host-Cloud-7.0.0-Beta --user-data ~/Documents/user-data.txt atomic-test | |
nova list|grep atomic-test |
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 | |
users: | |
- name: nickname | |
gecos: My Name | |
sudo: ALL=(ALL) NOPASSWD:ALL | |
ssh-authorized-keys: | |
- ssh-rsa AAAA....lh1mwlH me@localhost | |
ssh_authorized_keys: | |
- ssh-rsa AAAA....lh1mwlH me@localhost | |
bootcmd: | |
- cat /etc/passwd >> /etc/issue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment