Re: No swap on Vagrant images. On purpose?

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

 




On 2/10/20 9:26 AM, Vincent Rubiolo [IoT.bzh] wrote:
> Good afternoon everyone,
> 
> I am currently using the nice Fedora 30 Vagrant boxes[1] to host some 
> local dev environment (doing builds) and stumbled upon the fact that the 
> machines do not provide any swap partition/space (cf attached session 
> log). My build inside it is thus getting killed when running out of RAM.
> 
> I have not found my answer on the list but from some of the searches 
> I've done[2], it looks like this is a balance between the time spent by 
> the Fedora cloud team and the users (as to who should do the customization).
> 
> Was that the rationale behind this decision to not have swap space into 
> the images (that users would configure that themselves)?
> 
> Thanks for your feedback,
> 

This is mostly because the cloud images don't configure any swap and we keep our
image builds for the vagrant boxes and for the cloud images pretty much the same.

There are two pretty easy options:

- increase the amount of ram for the vagrant box
- configure a second disk in your vagrantfile and then set it up for swap

Dusty
_______________________________________________
cloud mailing list -- cloud@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to cloud-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/cloud@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux