vagrant-digitalocean icon indicating copy to clipboard operation
vagrant-digitalocean copied to clipboard

Debian 8 installing rsync error ( sudo)

Open constin opened this issue 9 years ago • 3 comments

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

constin avatar Jul 15 '15 06:07 constin

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

lmergner avatar Aug 10 '15 04:08 lmergner

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.

postrational avatar Oct 25 '15 14:10 postrational

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.

daniele-athome avatar Nov 29 '15 21:11 daniele-athome