Skip to contentSkip to conversation

setup-host-check: add support for Ubuntu 16.04

PATCH New Jacob Stiffler 1 participant 1 message Jun 3, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 setup-host-check: add support for Ubuntu 16.04

---
 setup-host-check.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
setup-host-check.sh +3 -3
index 3d21d28..f1d63d0 100644
@@ -39,10 +39,10 @@ echo "Verifying Linux host distribution"
 
 get_host_type host
 
-if [ "$host" != "lucid" -a "$host" != "precise" -a "$host" != "trusty" ]; then
-    echo "Unsupported host machine, only Ubuntu 12.04 LTS and Ubuntu 14.04 LTS are supported"
+if [ "$host" != "lucid" -a "$host" != "precise" -a "$host" != "trusty" -a "$host" != "xenial" ]; then
+    echo "Unsupported host machine, only Ubuntu 12.04 LTS, Ubuntu 14.04 LTS, and Ubuntu 16.04 LTS are supported"
     exit 1
 fi
-echo "Ubuntu 12.04 LTS and Ubuntu 14.04 LTS is being used, continuing.."
+echo "Ubuntu 12.04 LTS, Ubuntu 14.04, or Ubuntu 14.04 LTS is being used, continuing.."
 echo "--------------------------------------------------------------------------------"
 echo
Signature · 1 line
1.9.1