git://git.onelab.eu
/
pf2slice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
folded in tip from thierry
[pf2slice.git]
/
pf2slice.spec
diff --git
a/pf2slice.spec
b/pf2slice.spec
index
3632226
..
8b42fbe
100644
(file)
--- a/
pf2slice.spec
+++ b/
pf2slice.spec
@@
-26,9
+26,11
@@
pf2slice - Populates the planetflow slice with the right initscript, keychains a
rm -rf %{buildroot}
install -d -v %{buildroot}/etc/init.d
install -m 755 -v pf2slice-initscript %{buildroot}/etc/init.d/pf2slice
rm -rf %{buildroot}
install -d -v %{buildroot}/etc/init.d
install -m 755 -v pf2slice-initscript %{buildroot}/etc/init.d/pf2slice
+install -d -m 700 %{buildroot}/home/pl_netflow/.ssh
+install -m 600 authorized_keys %{buildroot}/home/pl_netflow/.ssh/authorized_keys
mkdir -p %{buildroot}/home/pl_netflow/.ssh
mkdir -p %{buildroot}/pf
mkdir -p %{buildroot}/home/pl_netflow/.ssh
mkdir -p %{buildroot}/pf
-cp authorized_keys %{buildroot}/pl_netflow/.ssh
+
%clean
rm -rf %{buildroot}
%clean
rm -rf %{buildroot}
@@
-37,6
+39,7
@@
rm -rf %{buildroot}
%defattr(-,root,root)
/etc/init.d/pf2slice
/root/.ssh/authorized_keys
%defattr(-,root,root)
/etc/init.d/pf2slice
/root/.ssh/authorized_keys
+/home/*
/pf
%post
/pf
%post