aboutsummaryrefslogtreecommitdiffstats
path: root/kud/hosting_providers/vagrant/installer.sh
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2019-06-10 00:50:02 +0000
committerGerrit Code Review <gerrit@onap.org>2019-06-10 00:50:02 +0000
commitf30199f018ae167df804c23079eb4bcec6c10f34 (patch)
tree9fea7afccdc9dfb32cf17486f51e8da1fd7b7b02 /kud/hosting_providers/vagrant/installer.sh
parent047872661b83422149ccf4b46defb5f90f3e7c54 (diff)
parent540c5b56469b52fdaccee624f582ce1c3e06efe9 (diff)
Merge changes I798b9dd9,I36b65dd2
* changes: Remove the requirement to run aio.sh as root Documentation update for aio.sh CI change
Diffstat (limited to 'kud/hosting_providers/vagrant/installer.sh')
-rwxr-xr-xkud/hosting_providers/vagrant/installer.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/kud/hosting_providers/vagrant/installer.sh b/kud/hosting_providers/vagrant/installer.sh
index 346e2f69..c7715b59 100755
--- a/kud/hosting_providers/vagrant/installer.sh
+++ b/kud/hosting_providers/vagrant/installer.sh
@@ -196,6 +196,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."