Sha256: 230d3328a5a1ea55baf115366a2b7922d03aa862a71489c48681cbaf264facd2

Contents?: true

Size: 513 Bytes

Versions: 1

Compression:

Stored size: 513 Bytes

Contents

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

          argv = parse_options(opts)
          return if !argv

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-rackspace-0.1.10 lib/vagrant-rackspace/command/keypairs.rb