From 5f59179ac0a281423701d36f05b2e42258f75248 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Thu, 31 Jul 2014 14:04:42 -0400 Subject: fix path to systemd --- cloudinit/config/cc_ubuntu_init_switch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3