summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-05-26 10:50:32 -0400
committerScott Moser <smoser@ubuntu.com>2016-05-26 10:50:32 -0400
commitf358f286dc4887fc40b5e2ad370dc35d46905121 (patch)
treea396161e6e1d86509600491e8a1b52033f5fbc16
parent443df65a45e42c354b8eb7638528970adf036290 (diff)
downloadcloud-init-git-f358f286dc4887fc40b5e2ad370dc35d46905121.tar.gz
clarify a comment
-rwxr-xr-xbin/cloud-init6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/cloud-init b/bin/cloud-init
index 1d421acf..ffd1f2cc 100755
--- a/bin/cloud-init
+++ b/bin/cloud-init
@@ -271,9 +271,9 @@ def main_init(name, args):
LOG.debug("%s will now be targeting instance id: %s", name, iid)
if init.is_new_instance():
- # on new instance, apply network config. if not in local mode,
- # then we just bring up new networking as the OS has already
- # brought up the configured networking.
+ # on new instance, apply network config.
+ # in network mode 'bring_up' must be passed in as the OS
+ # has already brought up networking.
init.apply_network_config(bring_up=not args.local)
if args.local and init.datasource.dsmode != sources.DSMODE_LOCAL: