diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-01-04 13:21:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-04 13:21:02 -0500 |
commit | c595be4c25837da51ca38dcc60b4eb5e36beeff9 (patch) | |
tree | 628b177cde7995bee69bc922d1f8ebb83ff18fb2 /utils | |
parent | c85b26d8e1733118682cbec2c8f01885e42b7e7c (diff) | |
parent | bca05c177b37f3355c63680ad9c57b52d916687d (diff) | |
download | openshift-c595be4c25837da51ca38dcc60b4eb5e36beeff9.tar.gz openshift-c595be4c25837da51ca38dcc60b4eb5e36beeff9.tar.bz2 openshift-c595be4c25837da51ca38dcc60b4eb5e36beeff9.tar.xz openshift-c595be4c25837da51ca38dcc60b4eb5e36beeff9.zip |
Merge pull request #3037 from tbielawa/hush_sudo_check
Hush the sudo privs check in oo-installer
Diffstat (limited to 'utils')
-rw-r--r-- | utils/src/ooinstall/openshift_ansible.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/src/ooinstall/openshift_ansible.py b/utils/src/ooinstall/openshift_ansible.py index 113aca0e1..ce6e54664 100644 --- a/utils/src/ooinstall/openshift_ansible.py +++ b/utils/src/ooinstall/openshift_ansible.py @@ -212,7 +212,7 @@ def write_host(host, role, inventory, schedulable=None): if installer_host in [host.connect_to, host.hostname, host.public_hostname]: facts += ' ansible_connection=local' if os.geteuid() != 0: - no_pwd_sudo = subprocess.call(['sudo', '-n', 'echo', 'openshift']) + no_pwd_sudo = subprocess.call(['sudo', '-n', 'echo', '-n']) if no_pwd_sudo == 1: print('The atomic-openshift-installer requires sudo access without a password.') sys.exit(1) |