I have ordered several virtual machines from a hosting provider, which all need exactly the same setup:
- same users
- same programs installed
- same config (except for hostname) including cron-jobs
Is it possible and save to create a tarball of my entire system, excluding /dev, /proc, /sys folders and the /etc/hostname file and just unpack it on the disk while the system is not running (using a repair mode, or a Live CD, in case of a physical server)?
What else do I have to consider?
Edit: Since I have no physical access to these machines, everything has to be done from the command line.
Edit 2: Also /etc/network/interfaces should not be copied.
ddas a possible solution: askubuntu.com/questions/19901/… – msanford Jan 29 at 15:10/etc/hostnamefile be the only thing I will have to change then? – Thomas Jan 29 at 15:22