Re: No swap on Vagrant images. On purpose?

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

 



Hi Dusty,

Thanks again for your reply, sorry I had an issue w/ my IMAP folder for fedora-cloud not being checked automatically, hence the delay (this is now fixed).

On 2/14/20 10:53 PM, Dusty Mabe wrote:
Would you have a pointer on which scripts/stack are generating the base
boxes? One way I see would be to remake the base boxes here.

We generate them using kickstart. Here are the kickstart files (the ones
with *cloud* in the name):

https://pagure.io/fedora-kickstarts/tree/master

Great pointer, this is exactly what I was looking for, esp
https://pagure.io/fedora-kickstarts/blob/master/f/fedora-cloud-base-vagrant.ks

I use libvirt, so it may be specific to that provider, but I didn't think
it was. You can also try https://www.vagrantup.com/docs/disks/configuration.html


Ah, indeed. It looks provider-specific here but there seems to be a way w/ the VirtualBox provider as well, using a VBoxManage[1] hook.

In the meantime, I'll be looking at regenerating the base box using the KS file you pointed at.

As an aside, I am using the VBox provider because the libvirt one did not appear to support 'vagrant snapshot' out of the box. I see it should work w/ sahara instead[2]. Did you try that? Since I am iterating frequently when debugging provisioning scripts, anything that can speed up the up/provision/destroy cycle is a benefit. For instance, taking the base Fedora box, dnf updating, installing needed packages and exporting the results as a new base box gives a noticeable speed improvement when bringing up the box another time.

Thanks again,

Vincent

[1] https://www.vagrantup.com/docs/virtualbox/configuration.html#vboxmanage-customizations
[2] https://github.com/vagrant-libvirt/vagrant-libvirt#features

--
www.iot.bzh
_______________________________________________
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