However user needs to be in sudoers without password
needed to able to run needed steps with sudo.
Issue-ID: MULTICLOUD-672
Change-Id: I798b9dd9dad4175c2b43700bfe801d34b578fe97
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
 ################
 
 This bash script provides an automated process for deploying an All-in-One
-Kubernetes cluster. Given that the ansible inventory file created by this
-script doesn't specify any information about user and password, it's necessary
-to execute this script as root user.
+Kubernetes cluster.
 
 The following two instructions start the provisioning process.
 
 
 set -o nounset
 set -o pipefail
 
-if [[ $(whoami) != 'root' ]];then
-    echo "This bash script must be executed as root user"
-    exit 1
-fi
-
 aio_dir=$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)
 cd ${aio_dir}/../vagrant
 
 chmod og-wx ~/.ssh/authorized_keys
 
 echo "Enabling nested-virtualization"
-./node.sh
+sudo ./node.sh
 
 echo "Deploying KUD project"
 ./installer.sh | tee kud_installer.log
 
     echo "Admin password: secret" >> $k8s_info_file
 }
 
+sudo -k # forgot sudo password
 if ! sudo -n "true"; then
     echo ""
     echo "passwordless sudo is needed for '$(id -nu)' user."