You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.
I was trying to run a Debian Squeeze box created using the included tasks, but it fails during setup of the machine:
➜ $ git:(master) ✗ vagrant up test --provider=lxc
Bringing machine 'test' up with 'lxc' provider...
[test] Importing base box 'debian-6-amd64'...
[test] Setting up mount entries for shared folders...
[test] -- /vagrant
...
[test] Setting hostname...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
hostname --fqdn > /etc/mailname
@stucki just checking, is your host a Debian machine as well? If not, you might be want to have a look at this Vagrant PR: hashicorp/vagrant#1685. I remember having trouble setting up Debian containers from my Ubuntu host because of that.
I was trying to run a Debian Squeeze box created using the included tasks, but it fails during setup of the machine:
After doing some research on the issue, I found out that Vagrant expects any alias for localhost to use 127.0.1.1 not 127.0.0.1: https://github.com/mitchellh/vagrant/blob/master/plugins/guests/debian/cap/change_host_name.rb
For more details, take a look at the Debian manual: http://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_hostname_resolution
The text was updated successfully, but these errors were encountered: