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 | |
list_vrfs () { | |
echo -e "\nChoose an option:" | |
PS3=$'\n''Choose an option: ' | |
options=("Show all VRFs" "Show VRFs in a specific metro" "Show specific VRF by UUID") | |
select opt in "${options[@]}" | |
do | |
case $opt in |
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
#version=OL8 | |
# Reboot after installation | |
reboot | |
# Use graphical install | |
text | |
repo --name="BaseOS" --baseurl=https://yum.oracle.com/repo/OracleLinux/OL8/baseos/latest/x86_64/ | |
repo --name="AppStream" --baseurl=https://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/ |
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
terraform { | |
required_providers { | |
equinix = { | |
source = "equinix/equinix" | |
} | |
} | |
} | |
provider "equinix" { | |
auth_token = "TOKEN" |
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 | |
list_vrfs () { | |
#read -p "Enter API Key: " AUTH_TOKEN | |
#read -p "Enter Project UUID: " PROJECT_UUID | |
echo "Printing Project VRFs..." | |
sleep 1 | |
OUTPUT=$(curl -s "https://api.equinix.com/metal/v1/projects/$PROJECT_UUID/vrfs" \ | |
-X GET \ | |
-H "Content-Type: application/json" \ |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDSeubb/yD1tU80ELj3uFHcqPO1OZqzrGktYdQCO0EFZNog+VaREI8tWvPJrNJYzcS+uyJqePZxFcKUn8bMazZM1J7IgQe8S83kEfApVjV0LjjQQW3ipi45Uy0IasHecLCSgUQUExQ6z/+Gb4b8m+UhVJQRzL+flF83C1zlNzJdRGq6atai5g5D5hFv4A/lEWtZZJtPd/X486xZ6vKMBYu1qIxNRRn0UOVU3fQzqYc5dbS8QQb7HpDgqDmt5yc3cEsXzXQurDtGyY/tzKfXbsHKMX8DsuqLl4lGq+9ApaoPJyOgz7ZOwb3y7ONH/XU+v2AoNMofZTKCb8ubKBX+DlZD [email protected] |