diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2014-10-17 13:27:58 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2014-10-17 13:27:58 -0700 |
commit | 87a75c52902d7550acb812a626fddd72a6b2036f (patch) | |
tree | 147321564e8bf9ed3a78893e71d432902713b303 /packages | |
parent | 8eedba0d3b9851bb0101407c5a070b7a975efa04 (diff) | |
download | vyos-cloud-init-87a75c52902d7550acb812a626fddd72a6b2036f.tar.gz vyos-cloud-init-87a75c52902d7550acb812a626fddd72a6b2036f.zip |
Include the systemd config files
Diffstat (limited to 'packages')
-rw-r--r-- | packages/redhat/cloud-init.spec.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/redhat/cloud-init.spec.in b/packages/redhat/cloud-init.spec.in index 0e9862d8..75dd4d22 100644 --- a/packages/redhat/cloud-init.spec.in +++ b/packages/redhat/cloud-init.spec.in @@ -92,6 +92,11 @@ mkdir -p \$RPM_BUILD_ROOT/%{_sysconfdir}/rsyslog.d cp -p tools/21-cloudinit.conf \ \$RPM_BUILD_ROOT/%{_sysconfdir}/rsyslog.d/21-cloudinit.conf +#if $systemd +mkdir -p \$RPM_BUILD_ROOT/%{_unitdir} +cp -p systemd/* \$RPM_BUILD_ROOT/%{_unitdir} +#end if + %clean rm -rf \$RPM_BUILD_ROOT |