winbox
winbox copied to clipboard
Running Winbox under Mac OS X Virtualbox
Hi Adam, This looks useful - have you any particular advice about running it in a Virtualbox VM?
It would be great to have a wiki page or something that shows how you'd set it up.
Thanks, Martin.
Thanks @mrjcleaver. I think you can use it with your Virtualbox VM just like you'd use it in general, with Chef:
-
If you've already created the VM, you can use the
knife-windowsgem that ships with ChefDK or install it from RubyGems to bootstrap the node with the recipewinboxin the runlist, i.e. something likeknife bootstrap windows winrm yourvmname -x username -P yourpassword -r winbox
See the docs fo learn more about using knife-windows: https://docs.chef.io/plugin_knife_windows.html.
- Another option is to use Test-Kitchen, which can create your Virtualbox VM via vagrant and then bootstrap it with a recipe as in the above example. You'll need to supply your own kitchen yaml to make it work. See the getting started guide for Test Kitchen.