Advertisement
Guest User

Untitled

a guest
Jul 6th, 2012
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.01 KB | None | 0 0
  1. [osuser@lll ~]$ curl http://c3226372.r72.cf0.rackcdn.com/tty_linux.tar.gz | tar xvz -C /tmp/
  2. % Total % Received % Xferd Average Speed Time Time Time Current
  3. Dload Upload Total Spent Left Speed
  4. 0 22.6M 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0./tty_linux/
  5. ./tty_linux/image
  6. 46 22.6M 46 10.4M 0 0 3957k 0 0:00:05 0:00:02 0:00:03 4732k./tty_linux/kernel
  7. ./tty_linux/ramdisk
  8. 100 22.6M 100 22.6M 0 0 5905k 0 0:00:03 0:00:03 --:--:-- 6657k
  9. [osuser@lll ~]$ glance add name="ari-tty" type="ramdisk" disk_format="ari" container_format="ari" is_public=true < /tmp/tty_linux/ramdisk
  10. Uploading image 'ari-tty'
  11. ====================================================================================================================================================================================[100%] 18.6M/s, ETA 0h 0m 0s
  12.  
  13. Added new image with ID: 1b2eaff5-aaab-46c5-9a68-2ab15596739e
  14. [osuser@lll ~]$
  15. [osuser@lll ~]$ glance add name="aki-tty" type="kernel" disk_format="aki" container_format="aki" is_public=true < /tmp/tty_linux/kernel
  16. Uploading image 'aki-tty'
  17. ====================================================================================================================================================================================[100%] 13.9M/s, ETA 0h 0m 0s
  18. Added new image with ID: 52c69d9a-73eb-45da-97cd-2651ff31f6f2
  19. [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
  20. Uploading image 'ami-tty'
  21. ====================================================================================================================================================================================[100%] 59.6M/s, ETA 0h 0m 0s
  22. Added new image with ID: 4a33ce9d-02ef-4f79-8f4e-b84b4328175a
  23. [osuser@lll ~]$ nova boot --flavor 1 --key_name oskey2 --image 4a33ce9d-02ef-4f79-8f4e-b84b4328175a tty
  24. +------------------------+--------------------------------------+
  25. | Property | Value |
  26. +------------------------+--------------------------------------+
  27. | OS-DCF:diskConfig | MANUAL |
  28. | OS-EXT-STS:power_state | 0 |
  29. | OS-EXT-STS:task_state | scheduling |
  30. | OS-EXT-STS:vm_state | building |
  31. | accessIPv4 | |
  32. | accessIPv6 | |
  33. | adminPass | uGESwjFXB7iZ |
  34. | config_drive | |
  35. | created | 2012-07-06T18:42:35Z |
  36. | flavor | m1.tiny |
  37. | hostId | |
  38. | id | 6163c6f4-6648-4141-ab52-3be22e094c26 |
  39. | image | ami-tty |
  40. | key_name | oskey2 |
  41. | metadata | {} |
  42. | name | tty |
  43. | progress | 0 |
  44. | status | BUILD |
  45. | tenant_id | a376d1e6d754445db27c9a413882463f |
  46. | updated | 2012-07-06T18:42:35Z |
  47. | user_id | 05ce3d08f84c48a2ad631f772bdbf974 |
  48. +------------------------+--------------------------------------+
  49. [osuser@lll ~]$
  50. [osuser@lll ~]$ ssh -i oskey2.priv root@10.0.0.7
  51.  
  52. Chop wood, carry water.
  53.  
  54. # Use "logout" to leave the shell.
  55. # logout
  56. Connection to 10.0.0.7 closed.
  57. [osuser@lll ~]$ ssh root@10.0.0.7
  58. root@10.0.0.7's password:
  59.  
  60. Chop wood, carry water.
  61.  
  62. # logout
  63. Connection to 10.0.0.7 closed.
  64. [osuser@lll ~]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement