Skip to content

Using server images

radim edited this page Mar 13, 2012 · 2 revisions

Pre-defined images is based on a IMAGES hash defined in lib/vmaster/helpers.rb, which is stored as part of config in users ~/.virtualmaster configuration file.

Sample CLI configuration file (YAML):

---
username: API_USERNAME
password: API_PASSWORD
default_image: 124
images:
  :ubuntu_lucid: 124
  :debian_squeeze: 1741
  :centos_6: 1743

Other images can be references using their ID as available at https://www.virtualmaster.cz/en/images.

virtualmaster create demo1 --image id:IMAGE_ID 

Feel free to update instance list directly in your ~/.virtualmaster to provide convenient aliases for the instance you want to use.

Clone this wiki locally