diff options
author | Robert Schweikert <rjschwei@suse.com> | 2020-02-03 14:56:51 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-03 12:56:51 -0700 |
commit | 06e324ff8edb3126e5a8060757a48ceab2b1a121 (patch) | |
tree | 2c000f4043083f1742b93636400e08c67cfca385 /cloudinit/distros | |
parent | 1bb1896ec900622e02c1ffb59db4d3f2df4a964d (diff) | |
download | vyos-cloud-init-06e324ff8edb3126e5a8060757a48ceab2b1a121.tar.gz vyos-cloud-init-06e324ff8edb3126e5a8060757a48ceab2b1a121.zip |
sysconfig: distro-specific config rendering for BOOTPROTO option (#162)
- Introduce the "flavor" configuration option for the sysconfig renderer
this is necessary to account for differences in the handling of the
BOOTPROTO setting between distributions (lp#1858808)
+ Thanks to Petr Pavlu for the idea
- Network config clean up for sysconfig renderer
+ The introduction of the "flavor" renderer configuration allows us
to only write values that are pertinent for the given distro
- Set the DHCPv6 client mode on SUSE (lp#1800854)
Co-authored-by: Chad Smith <chad.smith@canonical.com>
LP: #1800854
Diffstat (limited to 'cloudinit/distros')
-rw-r--r-- | cloudinit/distros/opensuse.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cloudinit/distros/opensuse.py b/cloudinit/distros/opensuse.py index e41e2f7b..dd56a3f4 100644 --- a/cloudinit/distros/opensuse.py +++ b/cloudinit/distros/opensuse.py @@ -37,6 +37,7 @@ class Distro(distros.Distro): renderer_configs = { 'sysconfig': { 'control': 'etc/sysconfig/network/config', + 'flavor': 'suse', 'iface_templates': '%(base)s/network/ifcfg-%(name)s', 'netrules_path': ( 'etc/udev/rules.d/85-persistent-net-cloud-init.rules'), |