summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_landscape.py
diff options
context:
space:
mode:
authorThomas Hervé <thomas@canonical.com>2012-10-23 12:57:26 +0200
committerThomas Hervé <thomas@canonical.com>2012-10-23 12:57:26 +0200
commit179f82a9719c2850e465f7f06221978f3be15ffc (patch)
tree159e1e9c986fb55ccbc07204c21d98cbf7b9f082 /cloudinit/config/cc_landscape.py
parent182bf60757b76f86ffb4e5ee9aebcc8ce0fcc74f (diff)
downloadvyos-cloud-init-179f82a9719c2850e465f7f06221978f3be15ffc.tar.gz
vyos-cloud-init-179f82a9719c2850e465f7f06221978f3be15ffc.zip
Restart landscape at the end of the configuration
Diffstat (limited to 'cloudinit/config/cc_landscape.py')
-rw-r--r--cloudinit/config/cc_landscape.py1
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):