Servers-for-Hackers / the-book

Servers for Hackers eBook Issues
63 stars 5 forks source link

ubuntu/xenial64 doesn't contain /vagrant #51

Closed jhoopes closed 8 years ago

jhoopes commented 8 years ago

Hi,

Going through the book for 16.04, and the vagrant box doesn't contain the virtual box guest additions, and so the file syncing doesn't work out of the box.

After going in and running

sudo apt-get update
sudo apt-get install virtualbox-guest-utils

exiting, halting the machine, and adding the explicit shared folder of:

config.vm.synced_folder ".", "/vagrant"

and then running

vagrant up --provision

The shared folders then work as expected. Seems to be a bug with the base box: https://bugs.launchpad.net/cloud-images/+bug/1565985

fideloper commented 8 years ago

Thank you I'll check that out! Havent run into that, but I'll bet I've since used a different underlying box. On Wed, Jul 20, 2016 at 12:30 jhoopes notifications@github.com wrote:

Hi,

Going through the book for 16.04, and the vagrant box doesn't contain the virtual box guest additions, and so the file syncing doesn't work out of the box.

After going in and running

sudo apt-get update sudo apt-get install virtualbox-guest-utils

exiting, halting the machine, and adding the explicit shared folder of:

config.vm.synced_folder ".", "/vagrant"

and then running

vagrant up --provision

The shared folders then work as expected. Seems to be a bug with the base box: https://bugs.launchpad.net/cloud-images/+bug/1565985

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Servers-for-Hackers/the-book/issues/51, or mute the thread https://github.com/notifications/unsubscribe-auth/AAch06oqzR1uJnvfg9VCxpN9AoqjDzdVks5qXlsvgaJpZM4JRBJg .

fideloper commented 8 years ago

The book is now updated to use the bento/ubuntu-16.04 box, which is one I've found that seems trust worthy, popular, and most importantly, actually works!

fideloper commented 8 years ago

(Book release made today has that update)