X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lxc-sliceimage.spec;h=267c5950d15dc1a2142abac769cb0ece275d857d;hb=27285df0b030a11ee75ea18cb6cfbf8ad40df40b;hp=10e5aa4aa708d568ea547ecf6e158f4e0b26a417;hpb=2f4a2de298c5f4b552007ca72810f3f6f4f83313;p=vserver-reference.git diff --git a/lxc-sliceimage.spec b/lxc-sliceimage.spec index 10e5aa4..267c595 100644 --- a/lxc-sliceimage.spec +++ b/lxc-sliceimage.spec @@ -33,6 +33,7 @@ rm -rf $RPM_BUILD_ROOT install -D -m 755 initscripts/lxc-sliceimage ${RPM_BUILD_ROOT}/%{_initrddir}/lxc-sliceimage install -D -m 644 cron.d/lxc-sliceimage $RPM_BUILD_ROOT/%{_sysconfdir}/cron.d/lxc-sliceimage install -D -m 644 logrotate/lxc-sliceimage $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/lxc-sliceimage +install -D -m 644 lxc_template.xml $RPM_BUILD_ROOT/vservers/.lvref/lxc_template.xml %clean rm -rf $RPM_BUILD_ROOT @@ -41,6 +42,7 @@ rm -rf $RPM_BUILD_ROOT %{_initrddir}/lxc-sliceimage %{_sysconfdir}/cron.d/lxc-sliceimage %{_sysconfdir}/logrotate.d/lxc-sliceimage +/vservers/.lvref %post chkconfig --add lxc-sliceimage