require "vagrant" module VagrantPlugins module GuestLinux class Plugin < Vagrant.plugin("2") name "Linux guest." description "Linux guest support." guest(:linux) do require_relative "guest" Guest end guest_capability(:linux, :change_host_name) do require_relative "cap/change_host_name" Cap::ChangeHostName end guest_capability(:linux, :choose_addressable_ip_addr) do require_relative "cap/choose_addressable_ip_addr" Cap::ChooseAddressableIPAddr end guest_capability(:linux, :create_tmp_path) do require_relative "cap/file_system" Cap::FileSystem end guest_capability(:linux, :decompress_tgz) do require_relative "cap/file_system" Cap::FileSystem end guest_capability(:linux, :decompress_zip) do require_relative "cap/file_system" Cap::FileSystem end guest_capability(:linux, :halt) do require_relative "cap/halt" Cap::Halt end guest_capability(:linux, :insert_public_key) do require_relative "cap/public_key" Cap::PublicKey end guest_capability(:linux, :shell_expand_guest_path) do require_relative "cap/shell_expand_guest_path" Cap::ShellExpandGuestPath end guest_capability(:linux, :mount_nfs_folder) do require_relative "cap/nfs" Cap::NFS end guest_capability(:linux, :mount_smb_shared_folder) do require_relative "cap/mount_smb_shared_folder" Cap::MountSMBSharedFolder end guest_capability(:linux, :mount_virtualbox_shared_folder) do require_relative "cap/mount_virtualbox_shared_folder" Cap::MountVirtualBoxSharedFolder end guest_capability(:linux, :persist_mount_shared_folder) do require_relative "cap/persist_mount_shared_folder" Cap::PersistMountSharedFolder end guest_capability(:linux, :network_interfaces) do require_relative "cap/network_interfaces" Cap::NetworkInterfaces end guest_capability(:linux, :nfs_client_installed) do require_relative "cap/nfs" Cap::NFS end # For the Docker provider guest_capability(:linux, :port_open_check) do require_relative "cap/port" Cap::Port end guest_capability(:linux, :read_ip_address) do require_relative "cap/read_ip_address" Cap::ReadIPAddress end guest_capability(:linux, :wait_for_reboot) do require_relative "cap/reboot" Cap::Reboot end guest_capability(:linux, :reboot) do require_relative "cap/reboot" Cap::Reboot end guest_capability(:linux, :remove_public_key) do require_relative "cap/public_key" Cap::PublicKey end guest_capability(:linux, :rsync_installed) do require_relative "cap/rsync" Cap::RSync end guest_capability(:linux, :rsync_command) do require_relative "cap/rsync" Cap::RSync end guest_capability(:linux, :rsync_post) do require_relative "cap/rsync" Cap::RSync end guest_capability(:linux, :rsync_pre) do require_relative "cap/rsync" Cap::RSync end guest_capability(:linux, :unmount_virtualbox_shared_folder) do require_relative "cap/mount_virtualbox_shared_folder" Cap::MountVirtualBoxSharedFolder end end end end