Created
March 2, 2015 05:21
-
-
Save psftw/391c43201025c53bd3c7 to your computer and use it in GitHub Desktop.
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
$ ssh -p 2222 rancher@localhost | |
The authenticity of host '[localhost]:2222 ([127.0.0.1]:2222)' can't be established. | |
ECDSA key fingerprint is 32:60:d5:5e:58:ff:fa:9c:01:6d:53:b8:ca:40:65:e1. | |
Are you sure you want to continue connecting (yes/no)? yes | |
Warning: Permanently added '[localhost]:2222' (ECDSA) to the list of known hosts. | |
[rancher@rancher ~]$ sudo system-docker logs cloud-init | |
+ MOUNT_POINT=/media/config-2 | |
++ blkid | |
++ grep -- 'LABEL="config-2"' | |
++ cut -f1 -d: | |
+ CONFIG_DEV= | |
+ mkdir -p /media/config-2 | |
+ '[' -e '' ']' | |
+ mount -t 9p -o trans=virtio,version=9p2000.L config-2 /media/config-2 | |
+ rancherctl config get cloud_init | |
datasources: | |
- configdrive:/media/config-2 | |
+ cloud-init -save | |
time="2015-03-02T05:19:17Z" level=info msg="Checking availability of \"cloud-drive\"\n" | |
time="2015-03-02T05:19:17Z" level=info msg="Fetching user-data from datasource cloud-drive" | |
Attempting to read from "/media/config-2/openstack/latest/user_data" | |
time="2015-03-02T05:19:17Z" level=info msg="Fetching meta-data from datasource of type cloud-drive" | |
Attempting to read from "/media/config-2/openstack/latest/meta_data.json" | |
2015/03/02 05:19:17 Parsing user-data as cloud-config | |
time="2015-03-02T05:19:17Z" level=info msg="Merging cloud-config from meta-data and user-data" | |
time="2015-03-02T05:19:17Z" level=info msg="Writing merged cloud-config to /var/lib/rancher/conf/cloud-config.yml" | |
[rancher@rancher ~]$ sudo cat /var/lib/rancher/conf/cloud-config.yml | |
#cloud-config | |
ssh_authorized_keys: | |
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUWGL/a6kV8A3mvIRdjVI4sruysxx1uIvOf7/mWtiWJnbcBthWUb+Flh20+jWTxq2MJFx9h2OtbDkXqhHy+qh2+U75KGh4ZVu0/Wkq0iHryT6mMy34LV3B+Ro91uBJPuCjhoPNXXp4e6DwF8eIZltwZPVJn0b7GmIopkesc1Ot6Ev7QQqQ+kqBHBs2Q8uFUC6T9nIIFvJf/iV+NYtnJbdoqq8rBKJoTYo9fbxOYdeuJxOtJl4YpSfMvbOwaGZVB++4wUEtHXd0G0qDqX8Ha7Q1+bA3DuD3qgZRbqZQfKmu0vY2zZyP4z3F8XC6I3uaVt4S1dGpxzWUdIkDMmCcVu0x | |
peter@genbeast | |
write_files: [] | |
hostname: "" | |
users: [] | |
manage_etc_hosts: "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment