diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2015-11-05 08:41:51 -0500 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2015-11-05 08:41:51 -0500 |
commit | 82b4209c02c27ab0e9a6d9c016ff06d12f42a9c1 (patch) | |
tree | 4537d6b6a9907300ccef8b43ebca92856130b57c | |
parent | 6a7b20e72b9692b298ac8c911bf78128e115955b (diff) | |
download | openshift-82b4209c02c27ab0e9a6d9c016ff06d12f42a9c1.tar.gz openshift-82b4209c02c27ab0e9a6d9c016ff06d12f42a9c1.tar.bz2 openshift-82b4209c02c27ab0e9a6d9c016ff06d12f42a9c1.tar.xz openshift-82b4209c02c27ab0e9a6d9c016ff06d12f42a9c1.zip |
Bug 1274201 - Fixing sudo non-interactive test
https://bugzilla.redhat.com/show_bug.cgi?id=1274201#c13
-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 e33330102..bdb9859a2 100644 --- a/utils/src/ooinstall/openshift_ansible.py +++ b/utils/src/ooinstall/openshift_ansible.py @@ -46,7 +46,7 @@ def generate_inventory(hosts): if any(host.hostname == installer_host or host.public_hostname == installer_host for host in hosts): - no_pwd_sudo = subprocess.call(['sudo', '-v', '--non-interactive']) + no_pwd_sudo = subprocess.call(['sudo', '-v', '-n']) if no_pwd_sudo == 1: print 'The atomic-openshift-installer requires sudo access without a password.' sys.exit(1) |