Skip to content

Instantly share code, notes, and snippets.

@bradgignac
Created October 24, 2012 14:18
Show Gist options
  • Save bradgignac/3946325 to your computer and use it in GitHub Desktop.
Save bradgignac/3946325 to your computer and use it in GitHub Desktop.
OpenStack Create Image
glance = Fog::Image.new(:provider => 'openstack', ...AUTH CREDENTIALS...)
image = glance.images.new
image.name = 'Some Name'
image.location = 'some_file_on_disk.iso'
image.save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment