This file contains 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 | |
set -euo pipefail | |
IFS=$'\n\t' | |
set -x | |
GC_PROJECT="${GC_PROJECT:-my-dev-project}" | |
NEW_RECORD_TTL="${NEW_RECORD_TTL:-59}" | |
if [[ -e transaction.yaml ]]; then | |
echo "WARN: Found existing transation.yaml, removing interactively" |
This file contains 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 | |
set -euo pipefail | |
IFS=$'\n\t' | |
REG_CREDS=pullsecret.json | |
ARCH="linux/amd64" | |
BATCH_SIZE=500 | |
PROBLEM_IMAGES=( | |
registry-proxy.engineering.redhat.com/ |
This file contains 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
Place holder. |
This file contains 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 | |
# (c) 2020 by I. S. Consulting, LLC use and remix allowed with attribution. | |
# Initially created by [bgdurrow] | |
# Available from https://gist.github.com/bdurrow/5873083ed4f8f52f50a22a240b5a2543 | |
#I don't think that I have used any bash specific features other | |
#than these "strict mode" settings. | |
set -euo pipefail | |
IFS=$'\n\t' |
This file contains 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 | |
#http://redsymbol.net/articles/unofficial-bash-strict-mode/ | |
set -euo pipefail | |
IFS=$'\n\t' | |
## Script to merge all mp4 videos in current directory (recursively 2 levels) | |
## And update chapter marks to retain the folder/filename | |
## Script for merging videos |
This file contains 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
0.0.0.0 netflix.com | |
0.0.0.0 www.netflix.com | |
0.0.0.0 hulu.com | |
0.0.0.0 www.hulu.com |
This file contains 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 | |
#set -x | |
#This script is made to be used with dnsmasq using the dhcp-script option | |
#I use it on a ASUS AC66U with the Merlin Firmware and entware; I don't | |
#Believe that entware is requied; enternal dependencies are sed and curl | |
#Which are available in the standard firmware. | |
#Put this script in /jffs/custom_scripts/miner-setup-after-dhcp.sh (chmod 755) | |
#and create a file called /jffs/configs/dnsmasq.conf.add with the following line (no preceeding #): | |
#dhcp-script=/jffs/custom_scripts/miner-setup-after-dhcp.sh |
This file contains 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
resources: | |
- name: {{ properties['prefix'] }}-disktest | |
properties: | |
disks: | |
- autoDelete: true | |
boot: true | |
deviceName: persistent-disk-0 | |
index: 0 | |
interface: SCSI | |
mode: READ_WRITE |
This file contains 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
Improvements: | |
Registry Console starts in error state | |
oadm diagnostics has several errors | |
Install provided Registry SSL Cert | |
Install provided Router SSL Cert | |
Make nodes in multiple zones (per RefArch) | |
Install Openshift Metrics (Hawkular) | |
Install Openshift Logging (Kibana) | |
Cross Zone Storage (convoy?) | |
Shared Storage (nfs/gcluster/gcsfuse?) |
This file contains 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
### CONFIG ### | |
# Path to a RHEL image on local machine, downloaded from Red Hat Customer Portal | |
#RHEL_IMAGE_PATH="${HOME}/Downloads/rhel-guest-image-7.3-35.x86_64.qcow2" | |
PARENT_IMAGE_SELECTOR='--image-project centos-cloud --image-family centos-7' | |
REGISTERED_IMAGE="$(gcloud compute images list --filter "family:centos-7" --format 'value(name)')-registered" | |
DELETE_IMAGE=true | |
# Username and password for Red Hat Customer Portal | |
RH_USERNAME='[email protected]' | |
RH_PASSWORD='xxx' |