On Wed, 2013-03-20 at 18:25 +0100, Per Jessen wrote:
Anton Aylward wrote:
ellanios82 said the following on 03/20/2013 09:01 AM:
On 03/20/2013 02:56 PM, Per Jessen wrote:
If that's too much effort for a one-off, and if the machines are all the same, how about installing one and then cloning it? Just a tar-copy will do.
________________
like :
tar clf - . | ( umask 0; cd /mnt; tar xvf - )
HA HA HA!
So what happens when the tree-walker-that-is-TAR gets to /mnt?
This is why I was thinking of using DD.
Well, using 'dd' means that source and target will have the same physical layout.
Not really. kiwi is a bit smarter than that. It lays out the partitions on the target disk according to the sizes requested, and then fills them (so to speak). I think the only requirement is that the disk is big enough. I set up my OEM images to have a 32 GB /, a swap, and the rest of the disk as /home. So the only requirement is that there is space for / and /swap. The rest is dynamic.
What I have done in the past (for a lot less machines though):
install machine#0, configure etc. Boot up a rescue system, create tar-copy of the installed system. Put tar-copy on USB or elsewhere where it is easily accessible.
for m in machine[123456789] do boot rescue, partition, create filesystem, mount, untar. configure MAC-address. run lilo done
The nice thing about the kiwi OEM image is that after kiwi installs it on the disk, it can run whatever remaining install components you want. I run things like the locale stuff. You can have it run the openSUSE install boot loader component if you want. Each of the install components are optionally available. Quite flexible really.
-- Per Jessen, Zürich (7.7°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland.
Yours sincerely, Roger Oberholtzer Ramböll RST / Systems Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org