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

Rails demo vagrant example in March 30 2020 book as well as github #259

Closed
mandrews4 opened this issue May 1, 2020 · 1 comment
Closed

Comments

@mandrews4
Copy link

mandrews4 commented May 1, 2020

I'm using vagrant 2.2.6 in a WSL (Windows Services for Linux) Ubuntu environment installed on Windows 10.

Please update the book example of the Vagrantfile on page 241 of the pdf to reflect github:

4 Vagrant.configure(2) do |config|
5 config.vm.box = "geerlingguy/ubuntu1804"
6 config.ssh.insert_key = false

and append a line which is common to your other Vagrantfiles to the Vagrant.configure section:

Vagrant.configure(2) do |config|
config.vm.box = "geerlingguy/ubuntu1804"
config.ssh.insert_key = false
config.vm.synced_folder '.', '/vagrant', disabled: true

Otherwise, the "vagrant up" command fails with a WSL specific error

Thank you

@geerlingguy
Copy link
Owner

geerlingguy commented Jul 28, 2020

Thanks for the suggestion; I've fixed this in the text and it will be in the next version of the book!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants