diff options
author | Dimitri John Ledkov <xnox@ubuntu.com> | 2020-01-30 17:15:49 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-30 12:15:49 -0500 |
commit | 2bedc44092ec94faebfb2f55c6d7c6bdd754df23 (patch) | |
tree | 49f015315e3e840edbee0a0fc23fb168fda7912d /tests/unittests/test_net.py | |
parent | 5f8f85bb38cc972d3d2c705a1ec73db3f690f323 (diff) | |
download | vyos-cloud-init-2bedc44092ec94faebfb2f55c6d7c6bdd754df23.tar.gz vyos-cloud-init-2bedc44092ec94faebfb2f55c6d7c6bdd754df23.zip |
net/cmdline: correctly handle static ip= config (#201)
It is proto 'none', not 'static' as was mistakenly implemented in
initramfs-tools/cloud-init in the past, yet was never the case in the
klibc ipconfig state file output.
LP: #1861412
Diffstat (limited to 'tests/unittests/test_net.py')
-rw-r--r-- | tests/unittests/test_net.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/test_net.py b/tests/unittests/test_net.py index 01119e0a..001ad010 100644 --- a/tests/unittests/test_net.py +++ b/tests/unittests/test_net.py @@ -81,7 +81,7 @@ DHCP6_EXPECTED_1 = { STATIC_CONTENT_1 = """ DEVICE='eth1' -PROTO='static' +PROTO='none' IPV4ADDR='10.0.0.2' IPV4BROADCAST='10.0.0.255' IPV4NETMASK='255.255.255.0' |