Commit a1da75af authored by James Coyle's avatar James Coyle

Add config

parent 3ba20344
#!/bin/bash
set -e
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
#### REQUIRED ####
#### Creds
PROX_USERNAME=[email protected]
PROX_PASSWORD=$PVE_PASSWORD #from gtilab vars
#### Global Settings
NODE=pve2
HOST="https://wwwpve.jamescoyle.net"
RETRY=50
SSH_KEY=`cat $ROOT/../keys/deploykey.public`
#### Test Target Database
TARGET_IP_PREFIX=10.28.0
TARGET_IP_GATEWAY=10.28.0.1
TARGET_IP_BRIDGE=vmbr1
TARGET_VMID=188
TARGET_TEMPLATE=local:vztmpl/ubuntu-16.04-standard_16.04-1_amd64.tar.gz
TARGET_PASSWORD=Password01
TARGET_STORAGE_ID=vm-pool
TARGET_STORAGE_SIZE=20
#### Source Database
SOURCE_IP=10.28.0.189
#### OPTIONAL ####
TARGET_CPU=${TARGET_CPU:-1}
TARGET_PASSWORD=${TARGET_PASSWORD:-"Password01"}
TARGET_RAM=${TARGET_RAM:-1024}
TARGET_SWAP=${TARGET_SWAP:-512}
TARGET_HOST=${TARGET_HOST:-ct$TARGET_VMID.jamescoyle.net}
TARGET_STORAGE=${TARGET_STORAGE_ID:-local}:${TARGET_STORAGE_SIZE:-20},quota=1
TARGET_IP=${TARGET_IP:-"$TARGET_IP_PREFIX.$TARGET_VMID"}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment