[英]Provision with Vagrant on a box that uses Busybox
当我像在其他 debian 机器上那样尝试在 Freifunk gluon 节点上进行配置时:
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
配置配置?
我的busybox不包括bash,它是为一个只有4MB内存的小型路由器而设计的。
你可以配置它
config.ssh.shell = 'ash'
这会将 ash 定义为 shell。 请参阅: http : //docs.vagrantup.com/v2/vagrantfile/ssh_settings.html
这是我的问题的解决方案,尽管我现在有一个后续问题,这是另一个问题: vagrant ash: sudo: not found
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.