在centos上安装openstack时出错

时间:2017-09-12 15:05:30

标签: puppet openstack

为了使用带有virtualbox的centos 7设置openstack,运行packstack --allinone时出现以下错误

Pre installing Puppet and discovering hosts' details[ ERROR ]

ERROR : Failed to run remote script, stdout:
stderr: Warning: Permanently added '192.168.56.24' (ECDSA) to the list of known hosts.
+ trap t ERR
+ facter -p
++ t
++ exit 12

我只有一台主机:192.168.56.24(我在哪里运行安装) 有任何想法吗 ?

1 个答案:

答案 0 :(得分:0)

解决此问题的一种方法是编辑~/.ssh/config

并添加:

Host 192.168.0.*
    StrictHostKeyChecking no
    UserKnownHostsFile=/dev/null

此链接也应该非常有用,即使它位于ubuntu上:https://askubuntu.com/questions/87449/how-to-disable-strict-host-key-checking-in-ssh