terrywang / vagrantboxes

Handcrafted Arch Linux Vagrant base box with :heart:
250 stars 29 forks source link

Arch box fails to mount synced folder #14

Open djhaskin987 opened 9 years ago

djhaskin987 commented 9 years ago

I'm using this box: http://cloud.terry.im/vagrant/archlinux-x86_64.box

I get this when I run vagrant up:

    default: /vagrant => /home/djhaskin987/Workspace/libgpg-error-git
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

mkdir -p /vagrant

Stdout from the command:

Stderr from the command:

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

sudo: no tty present and no askpass program specified

The synced folder does not show up:

$ vagrant ssh
Last login: Mon Aug 25 10:13:20 2014
vagrant@archlinux:~$ ls /
bin  boot  dev  etc  home  lib  lib64  lost+found  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var
mdaffin commented 9 years ago

Seeing the same issue, it looks like sudo requires a password which is what is causing that error. You also get it if you run vagrant halt or vagrant reload

==> default: Attempting graceful shutdown of VM...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

shutdown -h now

Stdout from the command:

Stderr from the command:

sudo: no tty present and no askpass program specified
marco-m commented 7 years ago

Time to close this issue ?