首页 > 代码库 > Vagrant的一个BUG - 不支持'change_host_name'

Vagrant的一个BUG - 不支持'change_host_name'

==> master: Setting hostname...Vagrant attempted to execute the capability change_host_nameon the detect guest OS linux, but the guest doesntsupport that capability. This capability is required for yourconfiguration of Vagrant. Please either reconfigure Vagrant toavoid this capability or fix the issue by creating the capability.

 

使用的BOX 【Ubuntu precise 64 VirtualBox】:

http://files.vagrantup.com/precise64.box

Vagrant1.8.5

VirtualBox5.1.4

 

会发生无法通过Vagrantfile修改hostname的问题。

 

解决方案:

https://github.com/mitchellh/vagrant/issues/7625

 

Vagrant的一个BUG - 不支持'change_host_name'