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

Setting the host name on Debian Squeeze #307

Closed
vpenso opened this issue Feb 11, 2011 · 1 comment
Closed

Setting the host name on Debian Squeeze #307

vpenso opened this issue Feb 11, 2011 · 1 comment
Labels

Comments

@vpenso
Copy link

vpenso commented Feb 11, 2011

Asking Vagrant to set the hostname of a virtual machine with an configuration like

config.vm.host_name = 'foo.bar.com'

in the Vagrantfile results in the follwoing error message

The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

sudo service hostname start

The output of the command prior to failing is outputted below:

hostname: unrecognized service

on Debian Squeeze.

@mitchellh
Copy link
Contributor

Setting hostname on Debian (not Ubuntu) should now work [closed by 2cfa79a]

@hashicorp hashicorp locked and limited conversation to collaborators Apr 17, 2020
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants