test/vm_setup: Fix permision error in Centos7
Signed-off-by: Maciej Wawryk <maciejx.wawryk@intel.com> Change-Id: Ic704e9ae97bb68d96401818fb52940e86eaa36a3 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1409 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Karol Latecki <karol.latecki@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
add06ac392
commit
051d3fe016
2
scripts/vagrant/Vagrantfile
vendored
2
scripts/vagrant/Vagrantfile
vendored
@ -179,7 +179,7 @@ Vagrant.configure(2) do |config|
|
||||
# rsync the spdk directory if provision hasn't happened yet
|
||||
# Warning: rsync does not work with freebsd boxes, so this step is disabled
|
||||
if ENV['COPY_SPDK_DIR'] == "1" && spdk_dir != "none" && !distro.include?("freebsd")
|
||||
config.vm.synced_folder "#{spdk_dir}", "/home/vagrant/spdk_repo/spdk", type: "rsync", rsync__auto: false
|
||||
config.vm.synced_folder "#{spdk_dir}", "/home/vagrant/spdk_repo/spdk", owner: "vagrant", group: "vagrant", type: "rsync", rsync__auto: false
|
||||
end
|
||||
|
||||
# provision the vm with all of the necessary spdk dependencies for running the autorun.sh tests
|
||||
|
@ -442,7 +442,7 @@ if $INSTALL; then
|
||||
fi
|
||||
fi
|
||||
|
||||
mkdir -p spdk_repo/output
|
||||
mkdir -p spdk_repo/output || echo "Can not create spdk_repo/output directory."
|
||||
|
||||
if [ -d spdk_repo/spdk ]; then
|
||||
echo "spdk source already present, not cloning"
|
||||
|
Loading…
Reference in New Issue
Block a user