Hi folks,
on IRC once again someone complained about the directory based config,
and Bertl once again wondered why noone came up with some conversion
tool. I was sick of that and spend a few minutes on hacking two
small scripts for that purpose. (A bit of an offense intended *g*)
They can't do much as of now, but should work for basic usage.
Stuff they do: Care about all regular files in the configuration.
Stuff they do not do: Care about symlinks, delete files that appear in
the flat file config but not in the directory config.
The flat file layout is pretty minimalistic, just enough to get the job
done, basically it's just all files smashed together with their
filenames inserted in between.
If you want more than that, feel to enhance or rewrite them (I actually
suck at bash scripting), but please stop whining about the directory
config being inconvenient ;).
Wiki-Page (usage is "explained" there):
http://linux-vserver.org/ConfigConverters
Scripts:
http://www.13thfloor.at/~doener/vserver/tools/fromDir.sh
http://www.13thfloor.at/~doener/vserver/tools/toDir.sh
HTH
Björn
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Mon May 29 02:58:03 2006