From aee8e63426bb3a85e6a0eadac3574b89fe3b537a Mon Sep 17 00:00:00 2001 From: Marcin Engelmann Date: Mon, 8 Jan 2018 17:43:38 +0100 Subject: [PATCH] Change location of systemd unit from /lib/systemd/system to /etc/systemd/system --- bootstrapvz/plugins/expand_root/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrapvz/plugins/expand_root/tasks.py b/bootstrapvz/plugins/expand_root/tasks.py index df5216a..4d4bc1c 100644 --- a/bootstrapvz/plugins/expand_root/tasks.py +++ b/bootstrapvz/plugins/expand_root/tasks.py @@ -38,7 +38,7 @@ class InstallExpandRootScripts(Task): expand_root_service = os.path.join(ASSETS_DIR, 'expand-root.service') expand_root_script_dest = os.path.join(info.root, 'usr/bin/expand-root.sh') - expand_root_service_dest = os.path.join(info.root, 'lib/systemd/system/expand-root.service') + expand_root_service_dest = os.path.join(info.root, 'etc/systemd/system/expand-root.service') filesystem_type = info.manifest.plugins['expand_root'].get('filesystem_type') root_device = info.manifest.plugins['expand_root'].get('root_device')