Changes between Version 21 and Version 22 of HowTo/ManageCustomImagesInstaGENI
- Timestamp:
- 02/15/15 08:37:04 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowTo/ManageCustomImagesInstaGENI
v21 v22 4 4 5 5 This page capture examples for creating InstaGENI Custom images using both Flack and Omni tools. Custom images are usually created when you have defined and experiment node that has all the features and applications that you intend to use again and again for additional experiments. 6 7 8 6 9 7 == Custom Images with Omni == … … 52 50 3. You now have the device URN that is actively running as ''' ''host1'' ''' in the slice lntest. With this information we can now have omni create a custom image which we will name ''Icreatedthisimage'' using the slice ''lntest' and the URN that corresponds to ''host1'': 53 51 {{{ 54 $ omni .pycreateimage -a gpo-ig lntest Icreatedthisimage -u urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+1822352 $ omni createimage -a gpo-ig lntest Icreatedthisimage -u urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+18223 55 53 17:28:46 INFO omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache' 56 54 17:28:46 INFO omni: Loading config file /home/lnevers/.gcf/omni_config … … 73 71 4. Omni also includes a command to ''' ''listimages'' ''', which lists your custom images, both public and private: 74 72 {{{ 75 $ omni .pylistimages -a gpo-ig73 $ omni listimages -a gpo-ig 76 74 17:29:41 INFO omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache' 77 75 17:29:41 INFO omni: Loading config file /home/lnevers/.gcf/omni_config … … 115 113 First find out the Image URL and URN information. This can be done with the omni '' '''listimages'' ''' option at your rack aggregate: 116 114 {{{ 117 $ omni .pylistimages -a my_rack_nickname115 $ omni listimages -a my_rack_nickname 118 116 }}} 119 117 Now that you have the image information, you can add it to your request RSpec. To add an custom disk image that can run in any rack, you should use both URN and URL in your RSpec: … … 140 138 1. First determine the image urn by using the omni '' '''listimages'' ''' option: 141 139 {{{ 142 lnevers@sendaria:~/gcf-2.4.1/instarspec$ omni .pylistimages -a gpo-ig140 lnevers@sendaria:~/gcf-2.4.1/instarspec$ omni listimages -a gpo-ig 143 141 17:29:41 INFO omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache' 144 142 17:29:41 INFO omni: Loading config file /home/lnevers/.gcf/omni_config