From 540c5b56469b52fdaccee624f582ce1c3e06efe9 Mon Sep 17 00:00:00 2001 From: Samuli Silvius Date: Wed, 5 Jun 2019 18:32:16 +0300 Subject: Remove the requirement to run aio.sh as root 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 --- kud/hosting_providers/vagrant/installer.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'kud/hosting_providers/vagrant/installer.sh') diff --git a/kud/hosting_providers/vagrant/installer.sh b/kud/hosting_providers/vagrant/installer.sh index c37d2746..9312f1eb 100755 --- a/kud/hosting_providers/vagrant/installer.sh +++ b/kud/hosting_providers/vagrant/installer.sh @@ -194,6 +194,7 @@ function _print_kubernetes_info { 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." -- cgit 1.2.3-korg