diff options
author | Nate House nathan.house@rackspace.com <> | 2014-01-23 21:31:53 -0600 |
---|---|---|
committer | Nate House nathan.house@rackspace.com <> | 2014-01-23 21:31:53 -0600 |
commit | f64cd3d53fb09fb41104f600ead60eefe9dbd4ab (patch) | |
tree | 72e4670f0e1fd58da24c99264bc92650c264d0dc /cloudinit/config/cc_set_passwords.py | |
parent | 7e2d084eabbabd035e56a65c52b277a0732b09d5 (diff) | |
download | vyos-cloud-init-f64cd3d53fb09fb41104f600ead60eefe9dbd4ab.tar.gz vyos-cloud-init-f64cd3d53fb09fb41104f600ead60eefe9dbd4ab.zip |
Package manager install / update fixes and service restart foo
Diffstat (limited to 'cloudinit/config/cc_set_passwords.py')
-rw-r--r-- | cloudinit/config/cc_set_passwords.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_set_passwords.py b/cloudinit/config/cc_set_passwords.py index 56a36906..06974248 100644 --- a/cloudinit/config/cc_set_passwords.py +++ b/cloudinit/config/cc_set_passwords.py @@ -136,7 +136,7 @@ def handle(_name, cfg, cloud, log, args): util.write_file(ssh_util.DEF_SSHD_CFG, "\n".join(lines)) try: - cmd = ['service'] + cmd = cloud.distro.init_cmd or ['service'] cmd.append(cloud.distro.get_option('ssh_svcname', 'ssh')) cmd.append('restart') util.subp(cmd) |