No commit activity in last 3 years
No release in over 3 years
A Vagrant plugin used by libcloud-vagrant
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-libcloud-helper

A Vagrant plugin used by libcloud-vagrant to help setting up VirtualBox instances.

At the moment only VirtualBox instances are supported.

vagrant-libcloud-helper does the following to your VirtualBox Vagrant boxes:

  • Allocate all SATA ports of the first SATA interface, so that disks may be hot-plugged once the machine is up. If no SATA controller is found, one will be created.

Installation

Like all Vagrant plugins:

vagrant plugin install vagrant-libcloud-helper

Usage

If you want to use this plugin outside libcloud-vagrant, you just need to enable the bits you want.

Allocation of SATA ports

The following Vagrantfile snippet activates the allocation of all SATA ports (A new SATA controller will be created if none is found):

Vagrant.configure("2") do |config|

  if Vagrant.has_plugin?("vagrant-libcloud-helper")
    config.libcloud_helper.allocate_sata_ports = 30
  end

  # [..]
end

By default no SATA ports will be allocated.

Compatibility

This plugin has been tested under 64-bit Linux with:

  • Vagrant 1.6.3
  • VirtualBox 4.3.14

Credits

Most of the code here was taken from the vagrant-persistent-storage plugin.

Changes

Version 0.0.2

  • The config parameter config.libcloud_helper.allocate_sata_ports is now an integer, representing the number of SATA ports to allocate.

Version 0.0.1

  • Initial release.