diff options
author | ckonstanski <ckonstanski@pippiandcarlos.com> | 2017-10-24 19:38:42 -0600 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2017-10-26 11:34:36 -0400 |
commit | a90a8b1cb3104ee3250ac79d6e25a9ff4f527baa (patch) | |
tree | 6a18ab13ae023c1d3e6fd26d9d51e13929691efc /cloudinit/distros/gentoo.py | |
parent | 17a15f9e0ae78e4fc4e24fab0caebdf78f06ef66 (diff) | |
download | vyos-cloud-init-a90a8b1cb3104ee3250ac79d6e25a9ff4f527baa.tar.gz vyos-cloud-init-a90a8b1cb3104ee3250ac79d6e25a9ff4f527baa.zip |
Gentoo: Use "rc-service" rather than "service".
The "service" command will be disappearing soon from Gentoo"s openrc
package. The "rc-service" command is preferred.
LP: #1727121
Diffstat (limited to 'cloudinit/distros/gentoo.py')
-rw-r--r-- | cloudinit/distros/gentoo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/distros/gentoo.py b/cloudinit/distros/gentoo.py index 0ad2f032..dc57717d 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) |