Sha256: 2c1c7ef04b7d742bfd8dbba9c26d4cacd418b5dcce1baf84bd6ec633ea083890

Contents?: true

Size: 332 Bytes

Versions: 7

Compression:

Stored size: 332 Bytes

Contents

module VagrantPlugins
  module Sakura
    class CommandReinstall < Vagrant.plugin(2, :command)
      def self.synopsis
        "Reinstall Sakura cloud disk"
      end

      def execute
        with_target_vms(nil, { :provider => "sakura" }) do |vm|
          vm.action(:reinstall)
        end
        0
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
vagrant-sakura-0.4.2 lib/vagrant-sakura/command_reinstall.rb
vagrant-sakura-0.4.0 lib/vagrant-sakura/command_reinstall.rb
vagrant-sakura-0.3.2 lib/vagrant-sakura/command_reinstall.rb
vagrant-sakura-0.3.1 lib/vagrant-sakura/command_reinstall.rb
vagrant-sakura-0.3.0 lib/vagrant-sakura/command_reinstall.rb
vagrant-sakura-0.2.1 lib/vagrant-sakura/command_reinstall.rb
vagrant-sakura-0.1.0 lib/vagrant-sakura/command_reinstall.rb