Merge pull request #7922 from chrisroberts/netbsd/rsync

guests/netbsd: Use full path to pkg_add command
This commit is contained in:
Chris Roberts 2016-10-25 18:51:42 -07:00 committed by GitHub
commit eb7568b2ed
1 changed files with 5 additions and 3 deletions

View File

@ -8,9 +8,11 @@ module VagrantPlugins
def self.rsync_install(machine) def self.rsync_install(machine)
machine.communicate.sudo( machine.communicate.sudo(
'PKG_PATH="http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/' \ 'PATH=$PATH:/usr/sbin '\
'`uname -m`/`uname -r | cut -d. -f1-2`/All" ' \ 'PKG_PATH="http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/' \
'pkg_add rsync') '`uname -m`/`uname -r | cut -d. -f1-2`/All" ' \
'pkg_add rsync'
)
end end
end end
end end