Source dir for fcopy

Dirk Geschke dirk at lug-erding.de
Thu Jan 22 06:50:43 CET 2015


Hi Norberto,

> in the script of my class, I have
> fcopy -i -v -s /data/fai/config/files/ /root/.ssh/authorized_keys

no, you only need a 

  fcopy -v /root/.ssh/authorized_keys

this will copy the file

   /data/fai/config/root/.ssh/authorized_keys/QAAU

from the FAI server to the Clients of class QAAU to

   /root/.ssh/authorized_keys

You have to take care, that the target directory /root/.ssh
exists, otherwise fcopy will fail. 

Best regards

Dirk

-- 
+----------------------------------------------------------------------+
| Dr. Dirk Geschke       / Plankensteinweg 61    / 85435 Erding        |
| Telefon: 08122-559448  / Mobil: 0176-96906350 / Fax: 08122-9818106   |
| dirk at geschke-online.de / dirk at lug-erding.de  / kontakt at lug-erding.de |
+----------------------------------------------------------------------+


More information about the linux-fai mailing list