summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <mthode@mthode.org>2017-10-24 17:43:37 (GMT)
committerMatthew Thode <mthode@mthode.org>2017-10-24 17:43:37 (GMT)
commitb1f5be693cbdc857911c9c36080af471ba0b7287 (patch)
tree7ec3e9a285990c16dcfee0f9bfdae3c42346da71
parent17a15f9e0ae78e4fc4e24fab0caebdf78f06ef66 (diff)
Update to use rc-service as service is going awayupdate_rc-service
Also, make the init scripts executable
-rw-r--r--cloudinit/distros/gentoo.py2
-rwxr-xr-x[-rw-r--r--]sysvinit/gentoo/cloud-config0
-rwxr-xr-x[-rw-r--r--]sysvinit/gentoo/cloud-final0
-rwxr-xr-x[-rw-r--r--]sysvinit/gentoo/cloud-init0
-rwxr-xr-x[-rw-r--r--]sysvinit/gentoo/cloud-init-local0
5 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/distros/gentoo.py b/cloudinit/distros/gentoo.py
index 0ad2f03..dc57717 100644
--- a/cloudinit/distros/gentoo.py
+++ b/cloudinit/distros/gentoo.py
@@ -24,7 +24,7 @@ class Distro(distros.Distro):
network_conf_fn = '/etc/conf.d/net'
resolve_conf_fn = '/etc/resolv.conf'
hostname_conf_fn = '/etc/conf.d/hostname'
- init_cmd = ['service'] # init scripts
+ init_cmd = ['rc-service'] # init scripts
def __init__(self, name, cfg, paths):
distros.Distro.__init__(self, name, cfg, paths)
diff --git a/sysvinit/gentoo/cloud-config b/sysvinit/gentoo/cloud-config
index 5618472..5618472 100644..100755
--- a/sysvinit/gentoo/cloud-config
+++ b/sysvinit/gentoo/cloud-config
diff --git a/sysvinit/gentoo/cloud-final b/sysvinit/gentoo/cloud-final
index a9bf01f..a9bf01f 100644..100755
--- a/sysvinit/gentoo/cloud-final
+++ b/sysvinit/gentoo/cloud-final
diff --git a/sysvinit/gentoo/cloud-init b/sysvinit/gentoo/cloud-init
index 531a715..531a715 100644..100755
--- a/sysvinit/gentoo/cloud-init
+++ b/sysvinit/gentoo/cloud-init
diff --git a/sysvinit/gentoo/cloud-init-local b/sysvinit/gentoo/cloud-init-local
index 0f8cf65..0f8cf65 100644..100755
--- a/sysvinit/gentoo/cloud-init-local
+++ b/sysvinit/gentoo/cloud-init-local