when you created your box, did you add Vagrant user to the sudoer file so can run commands as root without a password?
Can you share the box? On Fri, Sep 15, 2017 at 3:54 PM, <[email protected]> wrote: > Hi Alvaro, > sorry for the delay in getting back. > So after vagrant up which leaves the VM in a running state but with the > message > ==> default: Mounting shared folders... > default: /vagrant => D:/Vagrant_examples/mint182_ > base > 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: > > I then run vagrant ssh. /vagrant was missing (just to add, I removed it > from base and re-packaged, re-boxed). > Running mkdir -p /vagrant gave > mkdir: cannot create directory ‘/vagrant’: Permission denied > > Which makes sense because root directory is 755. When I created it on the > base, I used sudo. > So vagrant is trying to create /vagrant but not using sudo so how does it > actually work. Or how can it expect it to work? > > Regards, > John > > > > > >> -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/vagrant/issues > IRC: #vagrant on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/vagrant-up/6c3e1427-9a3c-4c60-a9c8-e7c9b0dfaa68%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/6c3e1427-9a3c-4c60-a9c8-e7c9b0dfaa68%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Alvaro -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ey3w3CO9KYCry0OvpgvA8TLJpd_RtYrj6uDiV59Ahh3cg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
