Sha256: 53e68447a1a497a3c8eb438e437ad2194fb55853170da038c92b470388844749

Contents?: true

Size: 520 Bytes

Versions: 4

Compression:

Stored size: 520 Bytes

Contents

module VagrantPlugins
  module Rackspace
    module Command
      class CreateImage < Vagrant.plugin("2", :command)
        def execute
          options = {}
          opts = OptionParser.new do |o|
            o.banner = "Usage: vagrant rackspace images create [options]"
          end

          argv = parse_options(opts)
          return if !argv

          with_target_vms(argv, :provider => :rackspace) do |machine|
            machine.action('create_image')
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vagrant-rackspace-0.1.10 lib/vagrant-rackspace/command/create_image.rb
vagrant-rackspace-0.1.9 lib/vagrant-rackspace/command/create_image.rb
vagrant-rackspace-0.1.8 lib/vagrant-rackspace/command/create_image.rb
vagrant-rackspace-0.1.7 lib/vagrant-rackspace/command/create_image.rb