From: Owen Synge Date: Thu, 11 Feb 2016 16:12:37 +0000 (+0100) Subject: [RM-14742] Set default init to systemd for (open)SUSE X-Git-Tag: v1.5.34~4^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c67f260cf034ad8fbb7e1377f7185cc77976447e;p=ceph-deploy.git [RM-14742] Set default init to systemd for (open)SUSE (open)SUSE is now using systemd moving forward, this patch corrects behavior on Tumbleweed and LEAP openSUSE Tumbleweed distribution is a pure rolling release version of openSUSE running the latest packages. openSUSE LEAP is a rolling release version of openSUSE based on SUSE linux Enterprise. Signed-off-by: Owen Synge --- diff --git a/ceph_deploy/hosts/suse/__init__.py b/ceph_deploy/hosts/suse/__init__.py index e66a433..2e3a345 100644 --- a/ceph_deploy/hosts/suse/__init__.py +++ b/ceph_deploy/hosts/suse/__init__.py @@ -24,7 +24,7 @@ def choose_init(module): '12' : 'systemd', # SLE_12 '13.1' : 'systemd', # openSUSE_13.1 } - return init_mapping.get(release, 'sysvinit') + return init_mapping.get(release, 'systemd') def get_packager(module):