Skip to content

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

Description

@mandrews4

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions