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
| from datetime import datetime, timedelta | |
| import networkx as nx | |
| from airflow import DAG | |
| from airflow.operators import BashOperator, SubDagOperator | |
| start_date = datetime(year=2017, month=6, day=13, hour=19, minute=0) | |
| schedule_interval = '0 * * * 1-5' | |
| default_args = { |
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 | |
| #If possible, add something in for choosing [1] Configure Basics [2] Configure Security [3] Configure VMware Tools [4] Configure All. This might require Perl. | |
| #set -x | |
| read -p "RUN AS SUDO This script will perform basic configuration, as well as security configuration. Please connect VMware Tools image to include in installation. THIS SCRIPT WILL REPLACE A LOT OF IMPORTANT FILES. Seriously. Run this only on new systems. Press [ENTER] to continue or ^C to exit." | |
| #read -p "Configure this server to be on 192.168.1.3/24?" yn | |
| #while true; do | |
| #case $yn in | |
| # [Yy]* ) |