There will be a few extra steps to install Windows above and beyond a normal install. Because the accelerated VirtIO drivers required to interface with the virtual disk controller are not bundled with Windows, we need to load them into the installer before it will be able to talk to the virtual hard drive.
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 | |
| iatest=$(expr index "$-" i) | |
| ####################################################### | |
| # SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me | |
| ####################################################### | |
| # Source global definitions | |
| if [ -f /etc/bashrc ]; then | |
| . /etc/bashrc |
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 | |
| EMAIL=me@gmail.com | |
| KEY=11111111111111111111111111 | |
| ZONE_ID=2222222222222222222222222 | |
| curl -sLX GET https://api.cloudflare.com/client/v4/zones/${ZONE_ID}/dns_records?per_page=500 \ | |
| -H "X-Auth-Email: ${EMAIL}" \ | |
| -H "X-Auth-Key: ${KEY}" \ | |
| -H "Content-Type: application/json" | jq .result[].id | tr -d '"' | ( |
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
| --- | |
| - hosts: windows | |
| vars: | |
| ansible_site_path: "c:\\inetpub\\wwwroot\\ansibletest" | |
| staging_path: "c:\\deploy" | |
| ansible_test_staging_path: "{{ staging_path }}\\ansible-test-site-{{ ansible_date_time.year }}{{ ansible_date_time.month }}{{ ansible_date_time.day }}" | |
| tasks: | |
| - name: install-iis | |
| win_feature: | |
| name: "Web-Server" |
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
| @echo off | |
| Title Converter Office 2016 Retail to Volume | |
| echo Press Enter to start VL-Conversion... | |
| echo. | |
| pause | |
| echo. | |
| for /f "tokens=6 delims=[]. " %%G in ('ver') do set win=%%G |
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
| United States | |
| Afghanistan | |
| Albania | |
| Algeria | |
| American Samoa | |
| Andorra | |
| Angola | |
| Anguilla | |
| Antarctica | |
| Antigua & Barbuda |
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
| # --------------------------------------------------------------- | |
| # Core ModSecurity Rule Set ver.2.2.9 | |
| # Copyright (C) 2006-2012 Trustwave All rights reserved. | |
| # | |
| # The OWASP ModSecurity Core Rule Set is distributed under | |
| # Apache Software License (ASL) version 2 | |
| # Please see the enclosed LICENCE file for full details. | |
| # --------------------------------------------------------------- | |
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
| # usage: | |
| # dexec <cmd> | |
| # uses fzf to select running container then runs | |
| # $ docker run [selected] <cmd> | |
| # with /bin/bash as the default cmd | |
| # TODO: add some pretty printing | |
| function dexec() { | |
| local selected_image |