summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2014-07-31 14:04:42 -0400
committerScott Moser <smoser@ubuntu.com>2014-07-31 14:04:42 -0400
commit5f59179ac0a281423701d36f05b2e42258f75248 (patch)
tree8c002957db6441672cce11232ddfeacb34f7cdcc
parent9aafd6e78bb30c160d9cce5835314b67e86d0328 (diff)
downloadvyos-cloud-init-5f59179ac0a281423701d36f05b2e42258f75248.tar.gz
vyos-cloud-init-5f59179ac0a281423701d36f05b2e42258f75248.zip
fix path to systemd
-rw-r--r--cloudinit/config/cc_ubuntu_init_switch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_ubuntu_init_switch.py b/cloudinit/config/cc_ubuntu_init_switch.py
index c476c51c..3ab23a23 100644
--- a/cloudinit/config/cc_ubuntu_init_switch.py
+++ b/cloudinit/config/cc_ubuntu_init_switch.py
@@ -85,7 +85,7 @@ def handle(name, cfg, cloud, log, args):
log.warn("%s: target set to %s, expected one of: %s",
name, target, str(supported))
- if os.path.exists("/run/systemd/systemd"):
+ if os.path.exists("/run/systemd"):
current = "systemd"
else:
current = "upstart"