OpenNebula::Provider
This is a Vagrant 1.5+ plugin that add an OpenNebula provider to Vagrant.
NOTE: This plugin requires occi-api gem and works with rOCCI-server.
Features
- Boot OpenNebula instances
- SSH into instances
- Provision the instances with any built-in Vagrant provisioner
- Minimal synced folder support via
rsync
Installation
$ vagrant plugin install opennebula-provider
...
$ vagrant up --provider=opennebula
...
Box Format
TODO: Write box format creation instruction here.
Usage
Vagrant.configure("2") do |config|
config.vm.box = "dummy"
config.vm.provider :opennebula do |one, override|
one.endpoint = 'http://rOCCI-server:PORT'
one.username = 'YOUR NAME'
one.password = 'YOUR PASSWORD'
one.os_tpl = 'OS template'
end
end
Configuration
endpoint
- rOCCI server urlusername
- OpenNebula usernamepassword
- OpenNebula passwordauth
- OpenNebula authorization method, default: basicos_tpl
- OpenNebula os templateresource_tpl
- OpenNebula resource template, default: smalltitle
- OpenNebula instance name
You can use ONE_USER, ONE_PASSWORD, ONE_ENDPOINT environment variables instead of defining it in Vagrantfile. However, Vagrantfile's provider config has more priority.
Contributing
- Fork it ( http://github.com/
/opennebula-provider/fork ) - Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request