Coder Social home page Coder Social logo

windows-setup's Introduction

windows in-toto

In this repository you will find a Vagrant + ansible set of config files that can help you provision a windows environment for in-toto development.

Usage

With vagrant and ansible installed (you probably need python-pywinrm) using your package manager, you can simply run:

$ vagrant up

This command should fetch a windows vm, start it and then run the ansible playbook on it. The ansible playbook does basically the following:

  1. Install python
  2. Install git
  3. Install tox
  4. Cloning in-toto and running the tests using tox

After running vagrant up, you can log into the machine using:

$ vagrant ssh

This way you can inspect things manually, modify the in-toto source tree, install packages using chocolatey, etc.

That's it!

Other useful commands

Hard-resetting everything

You can reset everything by running:

$ vagrant destroy && vagrant up

In case you want to start from scratch.

Pointing to a different host

You can use the provided ansible playbook to provision on a different host by modifying the inventory file and changing the default host to something else.

Using a different windows VM

You can change the chosen box in the vagrantfile by editing the config.vm.box. You can always search in vagrant cloud to find alternative boxes.

Debugging the box if winrm is failing

If you can't connect to the vm you can use a vrdp (such as rdesktop-vrdp) tool to connect to the host and verify everything is working on the vm. if you are using VirtualBox, The virtualbox GUI also allows you to attach to the "monitor" of the running vm.

windows-setup's People

Contributors

santiagotorres avatar

Watchers

Lukas Pühringer avatar James Cloos avatar Justin Cappos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.