Sha256: b35ec857e0faeb12e44d1473379ec1a650d68ea3e86ac1df1ac96f67df2fde34

Contents?: true

Size: 414 Bytes

Versions: 8

Compression:

Stored size: 414 Bytes

Contents

module VagrantPlugins
  module GuestArch
    module Cap
      class SMB
        def self.smb_install(machine)
          comm = machine.communicate
          if !comm.test("test -f /usr/bin/mount.cifs")
            comm.sudo <<-EOH.gsub(/^ {14}/, '')
              pacman -Sy --noconfirm
              pacman -S --noconfirm smbclient cifs-utils
            EOH
          end
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
vagrant-unbundled-2.3.6.0 plugins/guests/arch/cap/smb.rb
tamtam-vagrant-reload-1.2.1 vendor/cache/vagrant-2092df529ae7/plugins/guests/arch/cap/smb.rb
vagrant-unbundled-2.3.3.0 plugins/guests/arch/cap/smb.rb
vagrant-unbundled-2.3.2.0 plugins/guests/arch/cap/smb.rb
vagrant-unbundled-2.2.19.0 plugins/guests/arch/cap/smb.rb
vagrant-unbundled-2.2.18.0 plugins/guests/arch/cap/smb.rb
vagrant-unbundled-2.2.16.0 plugins/guests/arch/cap/smb.rb
vagrant-unbundled-2.2.14.0 plugins/guests/arch/cap/smb.rb