[libvirt] [libvirt-jenkins-ci PATCH v2 0/6] Unattended guest installation and more

Daniel P. Berrange berrange at redhat.com
Thu Oct 19 09:18:05 UTC 2017


On Thu, Oct 19, 2017 at 11:10:21AM +0200, Martin Kletzander wrote:
> On Wed, Oct 18, 2017 at 07:11:45PM +0200, Andrea Bolognani wrote:
> > Changes from [v1]:
> > 
> > * guest changes
> >  - set root password to a user-provided value
> >  - only allow key-based SSH login for root
> >  - configure serial console for emergency access
> >  - disable audio, video and USB
> >  - allocate 256 MiB for swap instead of 2 GiB
> 
> Why wap in such a virtual machine?

Even if you don't expect to use / need it, it is generally a good idea to
give a few 100 MB of swap. This gives the kernel MM greater flexibility to
re-arrange memory when it starts to get low on free RAM. Without it, you
can hit OOM despite technically having enough RAM free.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list