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
#!/usr/bin/env bash | |
# 10Jan2023 - Eric Gray | |
# Simple script to quickly create a GCE instance with IAM role for GCVE | |
SVC_ACCT_NAME=${SVC_ACCT_NAME:-gce-to-gcve} | |
NEW_INSTANCE=${NEW_INSTANCE:-automation-vm} | |
ZONE=${ZONE:-us-west2-a} | |
PROJECT_ID="cibg-tmm" | |
IAM_ROLES="roles/vmwareengine.vmwareengineAdmin roles/storage.admin roles/compute.admin" |
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 | |
# esxiso2pxe - quickly extract contents of ESXi ISO image for use on a PXE server | |
# 17Mar2014 - egray | |
if [ $# != 3 ]; then | |
echo "Usage: $0 <tftpboot dir> <new dir name> <ESXi ISO file>" >&2 | |
exit 1 | |
fi |