Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [osuser@lll ~]$ curl http://c3226372.r72.cf0.rackcdn.com/tty_linux.tar.gz | tar xvz -C /tmp/
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 0 22.6M 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0./tty_linux/
- ./tty_linux/image
- 46 22.6M 46 10.4M 0 0 3957k 0 0:00:05 0:00:02 0:00:03 4732k./tty_linux/kernel
- ./tty_linux/ramdisk
- 100 22.6M 100 22.6M 0 0 5905k 0 0:00:03 0:00:03 --:--:-- 6657k
- [osuser@lll ~]$ glance add name="ari-tty" type="ramdisk" disk_format="ari" container_format="ari" is_public=true < /tmp/tty_linux/ramdisk
- Uploading image 'ari-tty'
- ====================================================================================================================================================================================[100%] 18.6M/s, ETA 0h 0m 0s
- Added new image with ID: 1b2eaff5-aaab-46c5-9a68-2ab15596739e
- [osuser@lll ~]$
- [osuser@lll ~]$ glance add name="aki-tty" type="kernel" disk_format="aki" container_format="aki" is_public=true < /tmp/tty_linux/kernel
- Uploading image 'aki-tty'
- ====================================================================================================================================================================================[100%] 13.9M/s, ETA 0h 0m 0s
- Added new image with ID: 52c69d9a-73eb-45da-97cd-2651ff31f6f2
- [osuser@lll ~]$ glance add name="ami-tty" type="kernel" disk_format="ami" container_format="ami" ramdisk_id=1b2eaff5-aaab-46c5-9a68-2ab15596739e kernel_id=52c69d9a-73eb-45da-97cd-2651ff31f6f2 is_public=true < /tmp/tty_linux/image
- Uploading image 'ami-tty'
- ====================================================================================================================================================================================[100%] 59.6M/s, ETA 0h 0m 0s
- Added new image with ID: 4a33ce9d-02ef-4f79-8f4e-b84b4328175a
- [osuser@lll ~]$ nova boot --flavor 1 --key_name oskey2 --image 4a33ce9d-02ef-4f79-8f4e-b84b4328175a tty
- +------------------------+--------------------------------------+
- | Property | Value |
- +------------------------+--------------------------------------+
- | OS-DCF:diskConfig | MANUAL |
- | OS-EXT-STS:power_state | 0 |
- | OS-EXT-STS:task_state | scheduling |
- | OS-EXT-STS:vm_state | building |
- | accessIPv4 | |
- | accessIPv6 | |
- | adminPass | uGESwjFXB7iZ |
- | config_drive | |
- | created | 2012-07-06T18:42:35Z |
- | flavor | m1.tiny |
- | hostId | |
- | id | 6163c6f4-6648-4141-ab52-3be22e094c26 |
- | image | ami-tty |
- | key_name | oskey2 |
- | metadata | {} |
- | name | tty |
- | progress | 0 |
- | status | BUILD |
- | tenant_id | a376d1e6d754445db27c9a413882463f |
- | updated | 2012-07-06T18:42:35Z |
- | user_id | 05ce3d08f84c48a2ad631f772bdbf974 |
- +------------------------+--------------------------------------+
- [osuser@lll ~]$
- [osuser@lll ~]$ ssh -i oskey2.priv root@10.0.0.7
- Chop wood, carry water.
- # Use "logout" to leave the shell.
- # logout
- Connection to 10.0.0.7 closed.
- [osuser@lll ~]$ ssh root@10.0.0.7
- root@10.0.0.7's password:
- Chop wood, carry water.
- # logout
- Connection to 10.0.0.7 closed.
- [osuser@lll ~]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement