scripts/vagrant: add arch-linux option
Add Arch Linux option to our Vagrant scripts. We will probably need this for nightly tests against latest versions of software we depend on. Signed-off-by: Karol Latecki <karol.latecki@intel.com> Change-Id: I2dd1d69cbb286625343fd5e70ace0d8da1218825 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/466832 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Seth Howell <seth.howell@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Maciej Wawryk <maciejx.wawryk@intel.com> Reviewed-by: Maciej Szwed <maciej.szwed@intel.com>
This commit is contained in:
parent
391503d799
commit
6df5fbfb62
3
scripts/vagrant/Vagrantfile
vendored
3
scripts/vagrant/Vagrantfile
vendored
@ -50,6 +50,9 @@ Vagrant.configure(2) do |config|
|
||||
config.vm.provision "shell", inline: "sudo chown root:wheel /usr/local/etc/pkg.conf"
|
||||
config.vm.provision "shell", inline: "sudo chmod 644 /usr/local/etc/pkg.conf"
|
||||
end
|
||||
when "arch-linux"
|
||||
#See: https://app.vagrantup.com/generic/boxes/arch
|
||||
config.vm.box = "generic/arch"
|
||||
else
|
||||
"Invalid argument #{distro}"
|
||||
abort("Invalid argument!")
|
||||
|
@ -137,6 +137,9 @@ case "$SPDK_VAGRANT_DISTRO" in
|
||||
freebsd11)
|
||||
export SPDK_VAGRANT_DISTRO
|
||||
;;
|
||||
arch-linux)
|
||||
export SPDK_VAGRANT_DISTRO
|
||||
;;
|
||||
*)
|
||||
echo " Invalid argument \"${SPDK_VAGRANT_DISTRO}\""
|
||||
echo " Try: \"$0 -h\"" >&2
|
||||
|
Loading…
x
Reference in New Issue
Block a user