Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

support nfs_guest as fs type #83

Conversation

vdloo
Copy link
Member

@vdloo vdloo commented Jun 21, 2016

PR on #80

add nfs_guest as supported fs type. hypernode-vagrant box releases > 3051 will have ufw disabled by default so we don't have to patch the vagrant-nfs_guest plugin like @IvanChepurnyi does here and stop the firewall to successfully mount the synced folders.

adds

firewall:
  enabled: true

to the local.yml that automatically is set to false when nfs_guest is specified as the fs type

hypernode-vagrant$ vagrant up
Bringing machine 'hypernode' up with 'virtualbox' provider...
    hypernode: What filesystem type do you want to use? Options: nfs_guest, nfs, rsync, virtualbox [default virtualbox]: nfs_guest
==> hypernode: The host will mount NFS folders served by the guest
==> hypernode: Disabling the firewall in the guest because nfs_guest can run into some problems otherwise.
==> hypernode: Disabling fs->folders->magento1 in the local.yml because Magento 2 was configured..
==> hypernode: Installing the vagrant-nfs_guest plugin.
Installing the 'vagrant-nfs_guest' plugin. This can take a few minutes...
Installed the plugin 'vagrant-nfs_guest (0.1.9)'!
==> hypernode: Your hypernode-vagrant is now configured. Please run "vagrant up" again.

The basic hypernode-vagrant box can now be configured and booted by cloning the repo and running "vagrant up" three times and following the dialogue.
Vagrant needs to be started three consecutive times because it loads all configurations during initialization, not during runtime.
When we change the configuration in the Vagrant process we need to restart Vagrant for the changes to take effect.

1. Install the vagrant-hypconfigmgmt plugin
2. Configure the local.yml and install other required plugins
3. Boot the box

When the box is properly configured and all the required plugins is installed one vagrant up is sufficient.
@vdloo vdloo force-pushed the support-nfs-guest branch from 9cc9d23 to eab7df0 Compare June 22, 2016 10:48
@vdloo vdloo force-pushed the move-config-mgmtlogic-into-vagrant-hypconfigmgmt-plugin branch from 4263944 to c58c35c Compare June 26, 2016 19:20
@vdloo
Copy link
Member Author

vdloo commented Jun 28, 2016

superseded by #85

@vdloo vdloo closed this Jun 28, 2016
@vdloo vdloo deleted the support-nfs-guest branch August 9, 2016 13:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

1 participant