ocp 安装是卡住“check docker”

安装ocp 时卡在

install start check sshpass check docker

配置文件

SSH_USER=root # if not root, make sure remote user can use sudo without password admin ALL=(ALL) NOPASSWD:ALL SSH_PORT=22 SSH_AUTH=pubkey # can be password or pubkey SSH_PASSWORD=’’ # password for passowrd auth, when use pubkey auth, is passphrase SSH_KEY_FILE=’/root/.ssh/id_rsa.pub’ # pubkey auth

仔细debug, 修改ocp_installer.sh , 发现卡在ssh 上

SSH_KEY_FILE='/root/.ssh/id_rsa.pub'


配置文件中, 用的示例是一个公钥, 不是一个私钥, 需要修改为

SSH_KEY_FILE='/root/.ssh/id_rsa'