diff --git a/scripts/remote-install.sh b/scripts/remote-install.sh index cdc8b3de..67664789 100644 --- a/scripts/remote-install.sh +++ b/scripts/remote-install.sh @@ -38,6 +38,13 @@ function log { } lsb_release -d | grep "LTS" > /dev/null + +if [ "$EUID" -ne 0 ] +then + echo "This script must be run as root" + exit 1 +fi + if [ $? != 0 ] then echo "This script can only be run on a Linux Ubuntu LTS release"