No commit activity in last 3 years
No release in over 3 years
Vagrant Guest Plugin for NetBSD
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
 Project Readme

Vagrant::Guest::Netbsd

[![Gem Version](https://badge.fury.io/rb/vagrant-guest-netbsd.png)][gem]

This plugin allows you to run NetBSD under Vagrant.

It had been tested with Vagrant version 1.3.5 and 1.4.2.

Please report any issue you will encounter.

Installation

$ vagrant plugin install vagrant-guest-netbsd

Known limitations with the VirtualBox provider

Synced folders

VirtualBox shared folders are not supported as VirtualBox Guest Additions are not available for NetBSD.

But Vagrant NFS synced folders are available.

It should be noted that a private ("host-only") network between the virtualbox guest and the host must be setup to use NFS synced folders. The guest must also use a static IP adress in this network, specified in the Vagrantfile.

This is required for Vagrant before version 1.4. This limitation was removed in Vagrant 1.4 but as VirtualBox Guest Additions are not available for NetBSD, Vagrant cannot find out the guest's address in this network. So a static IP address in the private network is required, no matter the version of Vagrant used.

Usage

Add something like the following to your Vagrantfile

Vagrant.require_plugin "vagrant-guest-netbsd"

Vagrant.configure("2") do |config|
  
  # Only NFS synced folder are supported.
  # And note that a private network with static IP is required
  config.vm.network :private_network, ip: "192.168.33.10"
  config.vm.synced_folder "/some/host/pathname", "/vagrant", :nfs => true

end

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request