setup-host-check: add support for Ubuntu 16.04
PATCH 1/1 setup-host-check: add support for Ubuntu 16.04
Signed-off-by Jacob Stiffler <[email protected]>
--- setup-host-check.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
setup-host-check.sh +3 -3
@@ -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