summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRyan Harper <ryan.harper@canonical.com>2018-01-22 18:33:08 -0600
committerChad Smith <chad.smith@canonical.com>2018-02-12 10:20:09 -0700
commit58dcd70b48b158360e29246efe1f2d13a60e670a (patch)
treeecae0f8ef72cc3aa1f055632889ac7a0ff832432 /doc
parent89fc8ea847302b45884aa3ac7dbc6e2e261c7462 (diff)
downloadvyos-cloud-init-58dcd70b48b158360e29246efe1f2d13a60e670a.tar.gz
vyos-cloud-init-58dcd70b48b158360e29246efe1f2d13a60e670a.zip
net: accept network-config in netplan format for renaming interfaces
net.apply_network_config_names currently only accepts network-config in version 1 format. When users include a netplan format network-config the rename code does not find any of the 'set-name' directives and does not rename any of the interfaces. This causes some netplan configurations to fail. This patch adds support for parsing netplan format and extracts the needed information (macaddress and set-name values) to allow cloud-init to issue interface rename commands. We know raise a RuntimeError if presented with an unknown config format. LP: #1709715
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions