Hi Dirk, see below

On Thu, Jan 22, 2015 at 4:50 PM, Dirk Geschke <d...@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   |
> | d...@geschke-online.de / d...@lug-erding.de  / kont...@lug-erding.de |
> +----------------------------------------------------------------------+
>


-- 
Norberto 'Beto' Meijome

Antwort per Email an