Merge pull request #7922 from chrisroberts/netbsd/rsync
guests/netbsd: Use full path to pkg_add command
This commit is contained in:
commit
eb7568b2ed
|
@ -8,9 +8,11 @@ module VagrantPlugins
|
|||
|
||||
def self.rsync_install(machine)
|
||||
machine.communicate.sudo(
|
||||
'PKG_PATH="http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/' \
|
||||
'`uname -m`/`uname -r | cut -d. -f1-2`/All" ' \
|
||||
'pkg_add rsync')
|
||||
'PATH=$PATH:/usr/sbin '\
|
||||
'PKG_PATH="http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/' \
|
||||
'`uname -m`/`uname -r | cut -d. -f1-2`/All" ' \
|
||||
'pkg_add rsync'
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue