-
Notifications
You must be signed in to change notification settings - Fork 6
Would be really helpful to have nfs-tools and bindfs installed #2
Comments
Hi there! The philosophy of this Archlinux build is to keep the number of packages down to absolute minimum to get people going. As it currently stands, the build only contains the What would be the use case to have these packages pre-installed on the images? Are you perhaps having some problems that we might fix somehow differently? |
Greetings.
Vagrant doesn't know how to deal with these missing software packages on Archlinux as it does with other Linux distros. Having these two pieces of software in the image would avoid the failed provisioning steps when using shell provisioning script since we need to mount the synced folder in the boot phase of the Fully support the minimal approach to these images, but finding this one to be a bit too minimal. 😄 thanks |
Okay, I see the point now. Sounds like something that might be added, given that Vagrant can deal with shared folders via NFS. Are you up for a pull request, then? I have exactly 0 experience with NFS configurations. :) Please, try to keep it to the bare minimum to get NFS support running and also generic enough that it fits as many use cases as possible. Thanks! |
@Alaneor I'll take a stab at it. I'm not really familiar with the process of building Vagrant images. I think the NFS support is as simple as adding 'nfs-utils' to this line: https://github.com/Dreamscapes/atlas-archlinux/blob/master/support/sys-install.sh#L32 bindfs is a bit more of an issue since it is an AUR package. Not clear how you would bring an AUR package into the image build offhand. As for NFS synced_folder, if you haven't used it and are hosting on Linux or MacOS machine, you will find that an NFS synced_folder is MUCH faster. A bit off topic here but for the record, as simple as adding the following to your Vagrantfile. This is portable across Linux and MacOS hosts. Windows machines ignore requests for NFS mounts. hostos = RbConfig::CONFIG["host_os"].downcase
case hostos
when 'linux-gnu'
config.vm.synced_folder ".", "/vagrant", :nfs => true,
:mount_options => ['rw', 'vers=3', 'tcp', 'nordirplus', 'nolock', 'local_lock=none']
else
config.vm.synced_folder ".", "/vagrant", :nfs => true
end |
Hi, sorry to bother you guys, but is there any chance that you found a working solution for this? |
Nicely done set of images. Would really be helpful if these included bindfs and nfs-tools. As it is, they require some hand work to fit into my standard bootstrap process.
I'd be happy to submit a PR if it would be accepted.
The text was updated successfully, but these errors were encountered: