SHA256
1
0
forked from pool/cloud-init
cloud-init/setupSUSEsysVInit.diff

21 lines
873 B
Diff

Index: cloud-init-0.7.6/setup.py
===================================================================
--- cloud-init-0.7.6.orig/setup.py
+++ cloud-init-0.7.6/setup.py
@@ -65,6 +65,7 @@ INITSYS_FILES = {
'sysvinit': [f for f in glob('sysvinit/redhat/*') if is_f(f)],
'sysvinit_freebsd': [f for f in glob('sysvinit/freebsd/*') if is_f(f)],
'sysvinit_deb': [f for f in glob('sysvinit/debian/*') if is_f(f)],
+ 'sysvinit_suse': [f for f in glob('sysvinit/suse/*') if is_f(f)],
'systemd': [f for f in glob('systemd/*') if is_f(f)],
'upstart': [f for f in glob('upstart/*') if is_f(f)],
}
@@ -72,6 +73,7 @@ INITSYS_ROOTS = {
'sysvinit': '/etc/rc.d/init.d',
'sysvinit_freebsd': '/usr/local/etc/rc.d',
'sysvinit_deb': '/etc/init.d',
+ 'sysvinit_suse': '/etc/init.d',
'systemd': systemd_unitdir(),
'upstart': '/etc/init/',
}