Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian 8 installing rsync error ( sudo) #203

Open
constin opened this issue Jul 15, 2015 · 3 comments
Open

Debian 8 installing rsync error ( sudo) #203

constin opened this issue Jul 15, 2015 · 3 comments

Comments

@constin
Copy link

constin commented Jul 15, 2015

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

@lmergner
Copy link

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

@postrational
Copy link

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.

@daniele-athome
Copy link

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.

hendrikb added a commit to hendrikb/vagrant-digitalocean that referenced this issue Jan 13, 2016
Various issues (as far as I can see devopsgroup-io#203 and devopsgroup-io#109) report a missing sudo on
DigitalOceans debian8 images. We're providing a late installation on vagrant up
which should fix these issues.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants