Skip to content

Commit

Permalink
Allow Debian8 as an option to vmDestroy.sh (#1064)
Browse files Browse the repository at this point in the history
Signed-off-by: Stewart Addison <sxa@uk.ibm.com>
  • Loading branch information
sxa555 authored and Stewart X Addison committed Jan 3, 2020
1 parent f28c37c commit 28e1381
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ansible/pbTestScripts/vmDestroy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,12 @@ checkOS() {
osToDestroy="C6" ;;
"CentOS7" | "centos7" | "C7" | "c7" )
osToDestroy="C7" ;;
"Debian8" | "debian8" | "D7" | "d7" )
osToDestroy="D8" ;;
"Windows2012" | "Win2012" | "W12" | "w12" )
osToDestroy="W2012";;
"all" )
osToDestroy="U16 U18 C6 C7 W2012" ;;
osToDestroy="U16 U18 C6 C7 D8 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;
Expand All @@ -64,6 +66,7 @@ listOS() {
- Ubuntu1804
- CentOS6
- CentOS7
- Debian8
- Win2012"
echo
}
Expand Down

0 comments on commit 28e1381

Please sign in to comment.