Source dir for fcopy
Norberto Meijome
numard at gmail.com
Thu Jan 22 13:12:53 CET 2015
Hi Dirk, see below
On Thu, Jan 22, 2015 at 4:50 PM, Dirk Geschke <dirk at lug-erding.de> wrote:
> 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
>
right, i added the -s to try to solve this. +1, shoudn't be needed
>
> 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.
>
Could I do
fcopy -v -r /root/
and let it sync all of $FAI/files/root/ onto /root ?
cheers,
b
>
> 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 |
> +----------------------------------------------------------------------+
>
--
Norberto 'Beto' Meijome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20150122/9fe0892a/attachment.html>
More information about the linux-fai
mailing list