summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2014-10-17 15:57:09 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2014-10-17 15:57:09 -0700
commit18d27181905f4474d9b338f1e756b3cadd7c6e57 (patch)
treeb66f61e721ebc5599502358ba427a0b1bf1fa4c0 /packages
parentfdbf0c166df12fbbd0ff35f33422ab631b72890f (diff)
downloadvyos-cloud-init-18d27181905f4474d9b338f1e756b3cadd7c6e57.tar.gz
vyos-cloud-init-18d27181905f4474d9b338f1e756b3cadd7c6e57.zip
Ensure the files/dirs are retained
Diffstat (limited to 'packages')
-rw-r--r--packages/redhat/cloud-init.spec.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/redhat/cloud-init.spec.in b/packages/redhat/cloud-init.spec.in
index 75faf8d8..2625d90e 100644
--- a/packages/redhat/cloud-init.spec.in
+++ b/packages/redhat/cloud-init.spec.in
@@ -183,7 +183,9 @@ fi
%dir %{_sysconfdir}/cloud/templates
%config(noreplace) %{_sysconfdir}/cloud/templates/*
%config(noreplace) %{_sysconfdir}/rsyslog.d/21-cloudinit.conf
-%dir /var/lib/cloud
+
+%{_libexecdir}/%{name}
+%dir %{_sharedstatedir}/cloud
# Python code is here...
%{python_sitelib}/*