Sha256: d4cde4b89adab733f2e6d34de76606a958d8daee171a1646319eb74eaad7f8b2

Contents?: true

Size: 489 Bytes

Versions: 4

Compression:

Stored size: 489 Bytes

Contents

require Vagrant.source_root.join("plugins/guests/linux/cap/halt")

module VagrantPlugins
  module SyncedFolderNFSGuest
    module Cap
      module Linux
        class Halt
          def self.halt(machine)
            # unmount any host mounted NFS folders
            folders = machine.config.vm.synced_folders
            machine.env.host.unmount_nfs_folders(folders)

            VagrantPlugins::GuestLinux::Cap::Halt.halt(machine)
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vagrant-nfs_guest-0.0.4 lib/vagrant-nfs_guest/cap/linux/halt.rb
vagrant-nfs_guest-0.0.3 lib/vagrant-nfs_guest/cap/linux/halt.rb
vagrant-nfs_guest-0.0.2 lib/vagrant-nfs_guest/cap/linux/halt.rb
vagrant-nfs_guest-0.0.1 lib/vagrant-nfs_guest/cap/linux/halt.rb