guests/netbsd: Include /usr/sbin in PATH for pkg_add command

This commit is contained in:
Chris Roberts 2016-10-24 12:46:44 -07:00
parent 3ee2bca793
commit fc6824e79c
1 changed files with 5 additions and 3 deletions

View File

@ -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