项目primefaces – 驾驶舱不通过Vagrant安装

我用vagrant来安装primefaces,我想通过我的vagrantfile安装驾驶舱。 手动我用sudo atomic install fedora/cockpitws ,我没有问题。

当我尝试在我的vagrantfile中插入时,出现以下错误: cannot enable tty mode on non tty input The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong. cannot enable tty mode on non tty input The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong.

我在vagrantfile中添加的唯一句子是: config.vm.provision :shell, inline: "sudo atomic install fedora/cockpitws"

难道我做错了什么? 提前致谢

你可以尝试运行

 config.vm.provision :shell, privileged: false, inline: "sudo atomic install fedora/cockpitws" 

所以它会ssh与你的stream浪使用者,并运行命令,所以tty应该没问题。 当你忽略privileged: false它与你的root用户ssh