qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] Provisioning a vm using qemu


From: Alex
Subject: Re: [Qemu-discuss] Provisioning a vm using qemu
Date: Wed, 26 Jun 2019 22:13:38 +0800

> On 26 Jun 2019, at 6:27 PM, Paulo Matos <pmatos@linki.tools> wrote:
> 
> Hi,
> 
> With so many provisioning technologies out there I might be missing
> something, however I would appreciate suggestions here.
> 
> For CI sakes, I would like to easily provision different OSes in
> different architectures using qemu. Docker won't provide the different
> archs and vagrant won't either. Qemu could potentially allow this.
> Manually you could follow something like this:
> https://gnu-linux.org/creating-a-qemu-system-image-and-working-with-it-using-ssh-login.html
> 
> I am pretty sure I am not the first wanting something like this so I
> doubt there's no script or system out that that allows me to provision
> this quickly and get me a shell on the system.

If you decouple provisioning and running, you can use packer to 
build your image and boot it off QEMU. packer provides a qemu builder[0]
and allows you to use whatever you are familiar with to provision the image 
(ansible/shell).

[0] https://www.packer.io/docs/builders/qemu.html

> 
> Any suggestions?
> 
> -- 
> Paulo Matos
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]