On 2007-09-12, Wolfgang Draxinger <(E-Mail Removed)> wrote:
>
> So the best method I think is to tar up a fully prepared Linux
> system.
You would not want to do this naively. For one, special filesystems
like /proc and /dev (if mounted as dev) should not be included in a
tarball image, and you wouldn't want to take /tmp either. Depending on
the situation, you might want to exclude /home as well.
For another, you will want to be in runlevel 1 to make this sort of
tarball, to minimize the number of open files that might not be captured
correctly by tar if open.
But I think that's probably not the best way to go anyway. I would
start with the distro of choice, track any customizations made, and
include them in a package that can be installed post-OS install.
>You should eventually delete those configuration files
> that need some individualisation for each box (hostname, network
> configuration, eventually fstab and stuff like that). You'll
> have of course to use tar options to preserve special files and
> permissions (-p).
There's also systemimager, which is a more robust way of doing a
hot snapshot, including handling things like network and fstab
customizations.
--keith
--
kkeller-(E-Mail Removed)
(try just my userid to email me)
AOLSFAQ=http://www.therockgarden.ca/aolsfaq.txt
see X- headers for PGP signature information