Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update install.py #174

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions fabfile/tasks/install.py
Expand Up @@ -183,8 +183,8 @@ def install_interface_name(reboot='True'):
"""Installs interface name package in all nodes defined in compute role."""
if not env.roledefs['compute']:
return
if detect_ostype() == 'Ubuntu':
print "[%s]: Installing interface rename package not required for Ubuntu..Skipping it" %env.host_string
if detect_ostype() in ['Ubuntu', 'redhat']:
print "[%s]: Installing interface rename package not required for Ubuntu/Redhat..Skipping it" %env.host_string
else:
execute("install_interface_name_node", env.host_string, reboot=reboot)

Expand Down