winbox icon indicating copy to clipboard operation
winbox copied to clipboard

Running Winbox under Mac OS X Virtualbox

Open mrjcleaver opened this issue 10 years ago • 1 comments

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.

mrjcleaver avatar Aug 05 '15 20:08 mrjcleaver

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-windows gem that ships with ChefDK or install it from RubyGems to bootstrap the node with the recipe winbox in the runlist, i.e. something like

    knife 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.

adamedx avatar Aug 20 '15 06:08 adamedx