[英]How to provision a windows box in Vagrant
Maybe I am just not Googling for the right things, but I am not able to find a good example of a vagrantfile for Windows. 也许我只是没有为正确的事情谷歌搜索,但是我找不到Windows的vagrantfile的很好例子。 I have written a Vagrantfile for linux, and have used shell provisioning for that situation.
我已经为Linux编写了Vagrantfile,并针对这种情况使用了shell配置。 However, I am not able to find a good example of how to do this with windows.
但是,我找不到如何使用Windows进行操作的良好示例。 Can I do shell provisioning?
我可以进行外壳配置吗? Does it use batch scripting or power shell scripting?
它使用批处理脚本还是Power Shell脚本?
I dont know how I missed this before when I was playing with it, but it says it during provisioning: 在使用它之前,我不知道我是怎么错过它的,但是它在置备过程中说明了这一点:
==> default: Running provisioner: shell... default: Running: inline PowerShell script ==>默认值:运行预配器:shell ...默认值:运行:内联PowerShell脚本
It does Powershell provisioning. 它执行Powershell配置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.