scripts/vagrant: Add clearlinux to Vagrant scripts
Signed-off-by: Maciej Wawryk <maciejx.wawryk@intel.com> Change-Id: Ia3b9255abf84ace0d8eec7db3cd9b7293285a9c8 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2642 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Karol Latecki <karol.latecki@intel.com>
This commit is contained in:
parent
a2606d4b5d
commit
9839e8cbf7
2
scripts/vagrant/Vagrantfile
vendored
2
scripts/vagrant/Vagrantfile
vendored
@ -26,6 +26,8 @@ def checkboxtype(distro)
|
||||
return "generic/freebsd11"
|
||||
when "freebsd12"
|
||||
return "generic/freebsd12"
|
||||
when "clearlinux"
|
||||
return "AntonioMeireles/ClearLinux"
|
||||
else
|
||||
"Invalid argument #{distro}"
|
||||
abort("Invalid argument!")
|
||||
|
@ -20,7 +20,7 @@ display_help() {
|
||||
echo " Usage: ${0##*/} [-b nvme-backing-file] [-n <num-cpus>] [-s <ram-size>] [-x <http-proxy>] [-hvrldcu] <distro>"
|
||||
echo
|
||||
echo " distro = <centos7 | centos8| ubuntu1604 | ubuntu1804 |"
|
||||
echo " fedora30 | fedora31 | freebsd11 | freebsd12 | arch>"
|
||||
echo " fedora30 | fedora31 | freebsd11 | freebsd12 | arch | clearlinux>"
|
||||
echo
|
||||
echo " -s <ram-size> in kb Default: ${SPDK_VAGRANT_VMRAM}"
|
||||
echo " -n <num-cpus> 1 to 4 Default: ${SPDK_VAGRANT_VMCPU}"
|
||||
@ -177,6 +177,9 @@ case "${SPDK_VAGRANT_DISTRO}" in
|
||||
arch)
|
||||
export SPDK_VAGRANT_DISTRO
|
||||
;;
|
||||
clearlinux)
|
||||
export SPDK_VAGRANT_DISTRO
|
||||
;;
|
||||
*)
|
||||
echo " Invalid argument \"${SPDK_VAGRANT_DISTRO}\""
|
||||
echo " Try: \"$0 -h\"" >&2
|
||||
|
Loading…
x
Reference in New Issue
Block a user