folded in tip from thierry
authorSapan Bhatia <sapanb@cs.princeton.edu>
Fri, 7 Mar 2008 15:46:48 +0000 (15:46 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Fri, 7 Mar 2008 15:46:48 +0000 (15:46 +0000)
pf2slice.spec

index 029fbcb..8b42fbe 100644 (file)
@@ -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
+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
-cp authorized_keys %{buildroot}/home/pl_netflow/.ssh
+
 
 %clean
 rm -rf %{buildroot}