Automation scanner configured Linux on the machine?

In connection with the growth of the Park requires a working Linux system and monotonous to install and configure each separately takes not a few hours of my life... the thought came...
Is it possible to deploy a preset lean on the iron.
Rummaged in Acronis, etc. and understand that EXT4 is not as smooth as with NTFS.

Yet the idea hangs on LiveCD + TimeShift ...

Maybe someone already wore a similar problem and implement them.
Tell me what used?
March 23rd 20 at 19:28
5 answers
March 23rd 20 at 19:30
I have a new clean CentOS with passwords, keys, basic settings network is rolled from a PXE server for about 4 minutes. Used kickstart installation script.
Then use ansible , which indicates a specific role for this host. A few more minutes.
If the system rolls out on virtual reality in vSphere , it is generally all done through Ansible is a special role kicks ESX, there flies the V-world, loaded via PXE and see above - kickstart, etc.
For debian/ubuntu (in the tag information, ubuntu) automation of the installation is done using preseed. - kenna commented on March 23rd 20 at 19:33
March 23rd 20 at 19:32
Probably the best solution is to dig in the direction of the Ansible, Chef or similar system configuration management.
Very widely used for these tasks.
March 23rd 20 at 19:34
My answer - depends on what you need to put one recomendais image on hundreds of computers every day or for each of the hundreds of installations we need to customize the system.
In the first case - you can make a image and just put it through PXE, in the second - hard to do without Ansible/Chef/Puppet.
Extra - Vagrant, Foreman.
March 23rd 20 at 19:36
The most simple: telinit 1, sync, and dd to the new drive.
Although certainly better LiveUSB, and dd from disc/image to the new drive.
Well, then, respectively, firewood, hostname or something...
I understand that dd will not survive (create) sections by analogy with the source? - Clint.Schad commented on March 23rd 20 at 19:39
going to take it. if you do a dd of the entire device (/dev/sda for example) instead of its partitions (/dev/sda1 /dev/sda2 for example) - rowan66 commented on March 23rd 20 at 19:42
@Clint.Schad, ...and if the whole device is awkward to carry (different size disks), then you can copy partition table sfdisk means, then dd to the partitions, and separate dd boot sector. - oma commented on March 23rd 20 at 19:45
If you need to transfer your system from one machine to another exactly the same, then dd a normal variant, but for a more extensive Park and motley kickstart/preseed will be much faster and more enjoyable. - kenna commented on March 23rd 20 at 19:48
March 23rd 20 at 19:38
In General terms, can you describe:
1) Rolled OS configid system, installed the necessary software, configured that as needed.
2) then with the external system pack the system in the archive or in the squashfs image, then just unpack the copy of the system on the right machine, croteams and set sirucek (e.g. grub-install /dev/sda && update-grub)
The main advantage in comparison with the same dd is that it's a smarter way - we move the files and in the case of disks of different sizes will not have any problems.

Find more questions by tags UbuntuLinux