Sha256: 8e15dd61e3ceb71c75c21f9572f8d1dc5add8a16d51e3bfa7605b5441bd9fcd3

Contents?: true

Size: 1019 Bytes

Versions: 1

Compression:

Stored size: 1019 Bytes

Contents

require_relative 'action/disable_builtin_network_configure'
require_relative 'action/network'
require_relative 'action/ssh_server'
require_relative 'action/folder_sync'

module VagrantPlugins
  module HyperVNet
    module Action
      include Vagrant::Action::Builtin

      def self.disable_builtin_network_configure
        Vagrant::Action::Builder.new.tap do |builder|
          builder.use DisableBuiltinNetworkConfigure
        end
      end

      def self.network
        Vagrant::Action::Builder.new.tap do |builder|
          builder.use ConfigValidate
          builder.use Network
        end
      end

      def self.ssh_server
        Vagrant::Action::Builder.new.tap do |builder|
          builder.use ConfigValidate
          builder.use SshServer
        end
      end

      def self.folder_sync
        Vagrant::Action::Builder.new.tap do |builder|
          builder.use ConfigValidate
          builder.use FolderSync
        end
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-hypervnet-0.1.4 lib/vagrant-hypervnet/action.rb