diff options
author | Scott Moser <smoser@ubuntu.com> | 2016-03-22 03:50:28 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-03-22 03:50:28 -0400 |
commit | 9c0a2abc8d2c0e390745ddb163f5eae07b20d61d (patch) | |
tree | 910459878f970a42d9895758a5d59275916953ba /bin | |
parent | 6ce134c1868478345471ba9166f1523f7d9bf19d (diff) | |
download | vyos-cloud-init-9c0a2abc8d2c0e390745ddb163f5eae07b20d61d.tar.gz vyos-cloud-init-9c0a2abc8d2c0e390745ddb163f5eae07b20d61d.zip |
add code to invoke networking config
there is no data source that has a populated network_config()
so at this point this doesn't do anything.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/cloud-init | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/cloud-init b/bin/cloud-init index 63aa765b..8875d2f6 100755 --- a/bin/cloud-init +++ b/bin/cloud-init @@ -263,6 +263,10 @@ def main_init(name, args): return (None, []) else: return (None, ["No instance datasource found."]) + + if args.local: + init.apply_network_config() + # Stage 6 iid = init.instancify() LOG.debug("%s will now be targeting instance id: %s", name, iid) |