From 99171fb7b9bec446e25a338a0d36a820844fbc2d Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Tue, 13 Feb 2018 14:28:51 -0500 Subject: 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 --- config/cloud.cfg.tmpl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config/cloud.cfg.tmpl') 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' -- cgit v1.2.3