当我尝试在我的Freifunk胶子节点上进行配置时,就像我在其他debian机器上进行配置一样:
Vagrant.configure("2") do |config|
config.vm.provision "shell", path: "bootstrap-node.sh"
end
然后我收到错误:
The configured shell (config.ssh.shell) is invalid and unable
如何配置Busybox ash
的配置?
答案 0 :(得分:2)
我的busybox不包含bash,它适用于最小4MB内存的小型路由器。
您可以使用
进行配置config.ssh.shell = 'ash'
这将灰定义为shell。请参阅:http://docs.vagrantup.com/v2/vagrantfile/ssh_settings.html
这是我的问题的解决方案,虽然我现在有一个后续问题,这是另一个问题:vagrant ash: sudo: not found