E
E
exhang2015-01-12 23:47:33
linux
exhang, 2015-01-12 23:47:33

Is there a ready solution for deploying guest machines on KVM?

I would like that after creating a guest machine, the OS (ubuntu, debian, centos) would itself receive network settings, perform updates, maybe there is something already ready?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Igor, 2015-01-13
@merryjane

There are several options:
1. Run not a "naked" KVM, but some cloud solution nebula\openstack. There it is possible to transfer to the guest a pseudo-device on which the script lies and which will be launched, and any logic can already be in the script.
2. Use a configuration control system (puppet, chef...). In this case, the machines will need to be poured from a prepared image, in which the package of the desired system will already be present with the server registered in it.
3. The same as point 2, but implemented through ansible. That is, after installing the guest, ansible is set on him from somewhere and connects everything that is needed.
The second and third points require that the network work on the machine after installation.

E
Ergil Osin, 2015-01-13
@Ernillew

Boot via PXE, prepare the boot image so that it rolls updates over the crown.
What else is needed?

A
Alexey Cheremisin, 2015-01-13
@leahch

It's strange, everything seems to be set up like this even by default, in ubuntu at least, just check the box during installation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question