Commit 401d3c53 authored by Pawel Piatek's avatar Pawel Piatek Committed by Jim Harris
Browse files

scripts/vagrant: add support for rocky9



Signed-off-by: default avatarPawel Piatek <pawelx.piatek@intel.com>
Change-Id: I4a09cd4aef86ccc7a039d125b3dafc8e14421599
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/18139


Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarMichal Berger <michal.berger@intel.com>
Reviewed-by: default avatarKonrad Sztyber <konrad.sztyber@intel.com>
parent 46e00b54
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -16,7 +16,8 @@ def get_box_type(distro, force_distro)
    'arch'       => 'generic/arch',
    'freebsd12'  => 'generic/freebsd12',
    'freebsd13'  => 'generic/freebsd13',
    'rocky8'     => 'rockylinux/8'
    'rocky8'     => 'rockylinux/8',
    'rocky9'     => 'rockylinux/9'
  }
  abort("Invalid argument! #{distro}") unless distro_to_type.key?(distro) || force_distro

+2 −2
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ display_help() {
	echo
	echo " Usage: ${0##*/} [-b nvme-backing-file] [-n <num-cpus>] [-s <ram-size>] [-x <http-proxy>] [-hvrldcufaoH] <distro>"
	echo
	echo "  distro = <centos7 | ubuntu2004 | ubuntu2204 | fedora37 | fedora38 | freebsd12 | freebsd13 | arch | clearlinux | rocky8>"
	echo "  distro = <centos7 | ubuntu2004 | ubuntu2204 | fedora37 | fedora38 | freebsd12 | freebsd13 | arch | clearlinux | rocky8 | rocky9>"
	echo
	echo "  -s <ram-size> in MB             Default: ${SPDK_VAGRANT_VMRAM}"
	echo "  -n <num-cpus> 1 to 4            Default: ${SPDK_VAGRANT_VMCPU}"
@@ -187,7 +187,7 @@ case "${SPDK_VAGRANT_DISTRO}" in
	ubuntu2[02]04) ;&
	fedora3[7-8]) ;&
	freebsd1[2-3]) ;&
	rocky8) ;&
	rocky[89]) ;&
	arch | clearlinux) ;;
	*)
		if [[ $FORCE_DISTRO == false ]]; then