X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=source%2Fsteps%2FReadNodeConfiguration.py;h=9c9f0df802ba4a0dc40e74b7349a43ac71ee7f45;hb=a0643cc47866e7fc3590909475ce8f79b8344597;hp=e51e9b06bb977c3a128703e711fa6d1c479c5545;hpb=373ed1b705da6b5eb52295d4215857ff923f0815;p=bootmanager.git diff --git a/source/steps/ReadNodeConfiguration.py b/source/steps/ReadNodeConfiguration.py index e51e9b0..9c9f0df 100644 --- a/source/steps/ReadNodeConfiguration.py +++ b/source/steps/ReadNodeConfiguration.py @@ -599,7 +599,8 @@ def __parse_configuration_file( vars, log, file_contents ): vars["INTERFACE_SETTINGS"]= INTERFACE_SETTINGS - if not hostname_resolve_ok and not vars['DISCONNECTED_OPERATION']: + if (not hostname_resolve_ok and not vars['DISCONNECTED_OPERATION'] and + 'NAT_MODE' not in vars): log.write( "Hostname does not resolve correctly, will not continue.\n" ) if can_make_api_call: