- Updated start-hook
    - Removed default value for management interface
    - Updated get-mgmt method
This commit is contained in:
Junaid Ali 2016-07-25 21:44:51 +05:00
parent 178f2ccef8
commit 04ac6bf354
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ def get_mgmt_interface():
Returns the managment interface.
'''
mgmt_interface = config('mgmt-interface')
if interface_exists(mgmt_interface):
if mgmt_interface and interface_exists(mgmt_interface):
return mgmt_interface
else:
log('Provided managment interface %s does not exist'