Skip to content

Instantly share code, notes, and snippets.

View mcg1969's full-sized avatar

Michael C. Grant mcg1969

  • Anaconda, Inc. / CVX Research Inc.
  • Austin, TX
View GitHub Profile
@mcg1969
mcg1969 / vmware-ae5prep.sh
Last active March 31, 2023 17:55 — forked from amccarty/vmware-ae5prep.sh
Preparing a CentOS node for AE5
#!/usr/bin/env bash
set -eux
OS="$(gawk -F= '/^NAME/{print $2}' /etc/os-release | sed 's/"//g')"
echo "Detected ${OS} Distro"
if [[ "$OS" =~ ^(CentOS\ Linux|RedHat|Ubuntu)$ ]]; then