This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import exifread | |
| import os | |
| import re | |
| import shutil | |
| in_dir = "path" | |
| out_dir = "path" | |
| clean = False |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Example file line: | |
| # VM name,Group,MAC Address,RAM,Procs,HDD,VRDP port | |
| # sf-mc-01,Group,080027EF99DD,512,1,6000,9007 | |
| if [[ ! -e $1 ]]; then | |
| echo "File $1 not found." | |
| exit 1 | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vagrant init withinboredom/Trusty64 | |
| vagrant ssh | |
| sudo apt-get update | |
| sudo apt-get install -y language-pack-en git python-dev python-pip libkrb5-dev | |
| sudo locale-gen en_US.UTF-8 | |
| cd /home/vagrant && git clone git://github.com/ansible/ansible.git --recursive | |
| sudo pip install paramiko PyYAML Jinja2 httplib2 six "pywinrm>=0.1.1" kerberos | |
| echo "source /home/vagrant/ansible/hacking/env-setup" >> /home/vagrant/.bashrc |
OlderNewer