devopsgroup-io/vagrant-digitalocean

Add support for Block Storage

MrZoidberg opened this issue · 3 comments

It will be nice to have support for the Block Storage API . Any chance to get one?

This would be an awesome addition, especially if it can be worked into synced_folders type: 'nfs'!

Recently, I wrote a vagrant multi-vm that runs docker swarm init onvagrant up. The successful swarm init command conveniently outputs the complete swarm join command you would need to run on a new worker node to join the swarm (including all the hashes/secrets/keys).

I modified the swarm-init script with sed to cut out the excess text, and pipe the resulting swarm join command to /vagrant/swarm-join.sh which I could use to auto-build the swarm worker nodes, and the only thing holding me back at the moment, is the one-way rsync.

NFS support in the vagrant plugin would make this so easy!

I'm a big fan of using Vagrant not only for development, but being able to change the provider and using it for production (obviously adding commands to your provisioner to secure ssh/password on the box).

The Digital Ocean Vagrant plugin already supports ipv6 and private networking options. Having the ability to provision the new block storage product would be really helpful.

Does anywhere exist docs of usage provide.volume? And how can I make and attach DO Block Storage in my vagrantfile? TY