Commit 53931ee1 authored by Scott Moser's avatar Scott Moser

log that you're not applying config

parent 79b59658
......@@ -265,10 +265,13 @@ def main_init(name, args):
else:
return (None, ["No instance datasource found."])
if args.local and not init.ds_restored:
# if local mode and the datasource was not restored from cache
# (this is not first boot) then apply networking.
init.apply_network_config()
if args.local:
if not init.ds_restored:
# if local mode and the datasource was not restored from cache
# (this is not first boot) then apply networking.
init.apply_network_config()
else:
LOG.debug("skipping networking config from restored datasource.")
# Stage 6
iid = init.instancify()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment