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 hostname in CentOS 6.6 fails #6427

Closed
sepetrov opened this issue Oct 21, 2015 · 1 comment · Fixed by #7393
Closed

setting hostname in CentOS 6.6 fails #6427

sepetrov opened this issue Oct 21, 2015 · 1 comment · Fixed by #7393

Comments

@sepetrov
Copy link

Vagrant fails to set the hostname. Similar issue was reported in #4352

Host OS: Mac OS El Capitan (version 10.11)
Guest OS: CentOS release 6.6 (Final)
VirtualBox: 5.0.8 r103449
Vagrant log: https://gist.github.com/sepetrov/eb6eb37b599586ff268b

@kamigerami
Copy link
Contributor

@sepetrov
It seems to believe your guest os is running atomic.

INFO guest: Autodetecting host type for [#<Vagrant::Machine: dev (VagrantPlugins::ProviderVirtualBox::Provider)>]
 INFO ssh: Execute: grep 'ostree=' /proc/cmdline (sudo=false)
 INFO guest: Detected: atomic!

which is why it is trying to run the hostnamectl set-hostnamecommand and failing since either the path to that command does not exist or the binary does not exist on your box most likely.

Did you try it with another centos 6 box.

If not have a look at https://atlas.hashicorp.com/boxes/search

@ghost ghost locked and limited conversation to collaborators Apr 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants