diff options
author | Thomas Herve <thomas.herve@canonical.com> | 2012-10-23 15:47:32 +0200 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2012-10-23 15:47:32 +0200 |
commit | 0421d502e903f3c3ece767be57df7c27323241a0 (patch) | |
tree | 1833c6e80a2c1b3ee68332a8a8598ab530a54173 /cloudinit/config/cc_landscape.py | |
parent | d6ecf35e15b3ba6ab6448b77b52cb78c63165880 (diff) | |
parent | 179f82a9719c2850e465f7f06221978f3be15ffc (diff) | |
download | vyos-cloud-init-0421d502e903f3c3ece767be57df7c27323241a0.tar.gz vyos-cloud-init-0421d502e903f3c3ece767be57df7c27323241a0.zip |
restart landscape after config or install
LP: #1070345
Diffstat (limited to 'cloudinit/config/cc_landscape.py')
-rw-r--r-- | cloudinit/config/cc_landscape.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cloudinit/config/cc_landscape.py b/cloudinit/config/cc_landscape.py index 331559f4..56ab0ce3 100644 --- a/cloudinit/config/cc_landscape.py +++ b/cloudinit/config/cc_landscape.py @@ -84,6 +84,7 @@ def handle(_name, cfg, cloud, log, _args): log.debug("Wrote landscape config file to %s", lsc_client_fn) util.write_file(LS_DEFAULT_FILE, "RUN=1\n") + util.subp(["service", "landscape-client", "restart"]) def merge_together(objs): |