vagrant-digitalocean
vagrant-digitalocean copied to clipboard
Debian 8 installing rsync error ( sudo)
Hello. Debian-8 in digital-ocean comes without sudo. so i have small error while creating Debian8 VM.
Bringing machine 'default' up with 'digital_ocean' provider... ==> default: Using existing SSH key: Vagrant ==> default: Creating a new droplet... ==> default: Assigned IP address: *********** ==> default: Installing rsync to the VM... The following SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed!
apt-get -y update
Stdout from the command: Stderr from the command: bash: sudo: command not found
Vagrant.configure('2') do |config|
config.vm.provider :digital_ocean do |provider, override| override.ssh.private_key_path = '~/.ssh/id_rsa' override.vm.box = 'digital_ocean' provider.token = '******' provider.image = 'debian-8-x32' provider.region = 'fra1' provider.size = '512mb' end
Just got this error as well. Same config with region 'nyc3'.
Not much testing but this can be worked around by specifying:
config.vm.synced_folder "src/", "/srv/website", disabled: true
I get the same error. The workaround listed above did not work for me. Please help, it seems it's currently not possible to use Debian with vagrant-digitalocean.
I think it's connected to #109.
As the user suggests, I'm logging in and installing sudo and then go on with vagrant provision
.