From cde29367a83e34227127421590bc25559721e610 Mon Sep 17 00:00:00 2001 From: Stewart X Addison Date: Tue, 31 Jan 2023 11:45:51 +0000 Subject: [PATCH] pbTests: Add Ubuntu 22.04 Vagrantfile Signed-off-by: Stewart X Addison --- ansible/pbTestScripts/vmDestroy.sh | 5 ++++- ansible/vagrant/Vagrantfile.Ubuntu2204 | 26 ++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 ansible/vagrant/Vagrantfile.Ubuntu2204 diff --git a/ansible/pbTestScripts/vmDestroy.sh b/ansible/pbTestScripts/vmDestroy.sh index 4d53ce8870..345e724112 100755 --- a/ansible/pbTestScripts/vmDestroy.sh +++ b/ansible/pbTestScripts/vmDestroy.sh @@ -47,6 +47,8 @@ checkOS() { osToDestroy="U20";; "Ubuntu2104" | "U21" | "u21" ) osToDestroy="U21";; + "Ubuntu2204" | "U22" | "u22" ) + osToDestroy="U22";; "CentOS6" | "centos6" | "C6" | "c6" ) osToDestroy="C6" ;; "CentOS7" | "centos7" | "C7" | "c7" ) @@ -64,7 +66,7 @@ checkOS() { "Windows2012" | "Win2012" | "W12" | "w12" ) osToDestroy="W2012";; "all" ) - osToDestroy="U16 U18 U20 U21 C6 C7 C8 D8 D10 FBSD12 Sol10 W2012" ;; + osToDestroy="U16 U18 U20 U21 U22 C6 C7 C8 D8 D10 FBSD12 Sol10 W2012" ;; "") echo "No OS detected. Did you miss the '-o' option?" ; usage; exit 1;; *) echo "$OS is not a currently supported OS" ; listOS; exit 1; @@ -78,6 +80,7 @@ listOS() { - Ubuntu1804 - Ubuntu2004 - Ubuntu2104 + - Ubuntu2204 - CentOS6 - CentOS7 - CentOS8 diff --git a/ansible/vagrant/Vagrantfile.Ubuntu2204 b/ansible/vagrant/Vagrantfile.Ubuntu2204 new file mode 100644 index 0000000000..1222bf6c0d --- /dev/null +++ b/ansible/vagrant/Vagrantfile.Ubuntu2204 @@ -0,0 +1,26 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +$script = <