Roots Discourse

"vagrant up" command not working

Description

I’m receiving the following error when running “vagrant up” inside the Trellis folder.

Bringing machine 'default' up with 'virtualbox' provider...
C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/suse/host.rb:20:in `initialize': Cannot translate name. @ rb_sysopen - /etc/os-release (Errno::ELOOP)

Steps to reproduce

  1. I followed the entire Windows guide on Windows Basic Setup.
  2. I created a directory ~/sites/example.test in which I installed Trellis and Bedrock.
  3. In VS Code I cd into the trellis folder inside my project, and run “vagrant up” from the bash terminal.
  4. After “Bringing machine ‘default’ up with ‘virtualbox’ provider…” I receive the error above.

Additional information

Full version of the error.

Bringing machine 'default' up with 'virtualbox' provider...
C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/suse/host.rb:20:in `initialize': Cannot translate name. @ rb_sysopen - /etc/os-release (Errno::ELOOP)
        from C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/suse/host.rb:20:in `open'
        from C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/suse/host.rb:20:in `open'
        from C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/suse/host.rb:20:in `detect?'
        from C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/capability_host.rb:148:in `block (2 levels) in autodetect_capability_host'
        from C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/capability_host.rb:143:in `each'
        from C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/capability_host.rb:143:in `block in autodetect_capability_host'  
        from C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/capability_host.rb:142:in `each'
        from C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/capability_host.rb:142:in `autodetect_capability_host'
        from C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/capability_host.rb:36:in `initialize_capabilities!'
        from C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/host.rb:13:in `initialize'
        from C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/environment.rb:544:in `new'
        from C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/environment.rb:544:in `host'
        from C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/environment.rb:207:in `block in action_runner'
        from C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/runner.rb:34:in `run'
        from C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/environment.rb:527:in `hook'
        from C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/environment.rb:776:in `unload'
        from C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/bin/vagrant:185:in `ensure in <main>'
        from C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/bin/vagrant:185:in `<main>'