"clone" an example client?

Frank Lienhard frank at saliko.de
Sat Dec 10 14:59:20 CET 2011


On 12/08/2011 12:20 PM, SYSTEMS Oliver Osburg wrote:
>
> b) get a list of modified config files with "dpkg-query -W 
> -f='${Conffiles}\n' '*' | awk 'OFS="  "{print $2,$1}' | md5sum -c 
> 2>/dev/null | awk -F': ' '$2 !~ /OK/{print $1}'" or any other method. 
> I yet found no way to do this in a really good way. Often important 
> files are not listed.
>
>
> Hth & Regards, Oliver
>
I think this misses perhaps all files that are modified by hand.
In my case e.g.:
/etc/fstab
/etc/cups/client.conf
/etc/passwd
..and perhpas some I forgot.

My approach so far would be: Install a new client with a packagelist 
from the example client, run some sort of diff betweeen the /et of the 
example and the freshly installed client, and the "just copy" (?) the 
different files from the example to the fai config (at the moment I 
don't know where that would be, because of missing knowledge).




More information about the linux-fai mailing list