Need an automated thing. Can anyone help?
Hello!
I have a standard machine I wish to replicate to some (40 - 100) new
machines. The base install I have chosen is a Debian based system, and
is already configured to do the job it is supposed to.
I tarred it all.
Now what I need is to make a bootable CD that starts (and completes) an
installation process as follows:
0. Ask for the network parameters for the machine (IP address, Gateway,
netmask, machine and domain names).
1. fdisk the new machine to have two partitions, just big enough to cope
with the system. Never mind if the disk is bigger. One for swap and
another one for the root fs. Eventually, some other partitions could be
created.
2. Initialize these partitions.
3. Untar the tar file I created.
4. Update the network configuration in /etc/network/interfaces,
/etc/hostname, etc, etc... ;) as given in 0.
5. chroot and lilo
6. eject CD and reboot.
I have thought of a really reduced version of dbootstrap to do that, but
as dbootstrap does so many things, I am a bit lost. Could anyone point
me to a solution?
Thanks for any help!
Antonio Fiol
Reply to: