diff options
author | Jim Gorz <jgorz@godaddy.com> | 2016-09-23 09:57:00 -0700 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-10-19 20:15:36 -0400 |
commit | ba0adb9b5100735358a76fdee7b251dba224a4cd (patch) | |
tree | 6a761e760b05295a5b24d33c9e964df1a9dec3e0 /cloudinit/distros | |
parent | 9972d246947f1a6ec102b978b99b26acc43133ec (diff) | |
download | vyos-cloud-init-ba0adb9b5100735358a76fdee7b251dba224a4cd.tar.gz vyos-cloud-init-ba0adb9b5100735358a76fdee7b251dba224a4cd.zip |
Fix sshd restarts for rhel distros.
Set the default value for 'ssh_svcname' in rhel distros.
This means that it no longer needs to be set in system_info config.
Diffstat (limited to 'cloudinit/distros')
-rw-r--r-- | cloudinit/distros/rhel.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cloudinit/distros/rhel.py b/cloudinit/distros/rhel.py index 1aa42d75..e574e1b9 100644 --- a/cloudinit/distros/rhel.py +++ b/cloudinit/distros/rhel.py @@ -62,6 +62,7 @@ class Distro(distros.Distro): self._runner = helpers.Runners(paths) self.osfamily = 'redhat' self._net_renderer = sysconfig.Renderer() + cfg['ssh_svcname'] = 'sshd' def install_packages(self, pkglist): self.package_command('install', pkgs=pkglist) |