diff options
author | Robert Schweikert <rjschwei@suse.com> | 2018-02-13 14:28:51 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2018-02-14 13:52:37 -0500 |
commit | 99171fb7b9bec446e25a338a0d36a820844fbc2d (patch) | |
tree | edc84a7fda68d4d053768624288b8af77490157a | |
parent | 42923ffbbf6a84819224417f0e032497af60d0cd (diff) | |
download | vyos-cloud-init-99171fb7b9bec446e25a338a0d36a820844fbc2d.tar.gz vyos-cloud-init-99171fb7b9bec446e25a338a0d36a820844fbc2d.zip |
SUSE: Fix groups used for ownership of cloud-init.log
On SUSE distributions the neither the "adm" nor the "wheel" group are set
up by default causing log file permission change to fail. Set the
user:group to root:root in the cloud-init default config file generated
during install.
boo: 1080595
-rw-r--r-- | config/cloud.cfg.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/cloud.cfg.tmpl b/config/cloud.cfg.tmpl index 32de9c9b..fad11847 100644 --- a/config/cloud.cfg.tmpl +++ b/config/cloud.cfg.tmpl @@ -4,6 +4,8 @@ {% if variant in ["freebsd"] %} syslog_fix_perms: root:wheel +{% elif variant in ["suse"] %} +syslog_fix_perms: root:root {% endif %} # A set of users which may be applied and/or used by various modules # when a 'default' entry is found it will reference the 'default_user' |