diff options
author | 2020-10-23 12:24:43 +0000 | |
---|---|---|
committer | 2020-11-13 16:24:54 +0000 | |
commit | 5d28b70edce08ee912c433386599424f8202f303 (patch) | |
tree | 98c1246797f5a03f9417d6e1e6843f5bd90e8e09 /deploy.env | |
parent | e34b4d93d5e288bdbb5ec798602ea5e8f1bc3985 (diff) |
Add support for deploying to Equinix Metal bare-metal servers
Adds an additional hw_config which is simplified (equinix-metal).
Adds support for skipping HW provisioning (pre-provisioned through EM).
Usage: deploy.sh [k8s]
Adds a few new helper functions, and updates existing to support changes.
Signed-off-by: Michael S. Pedersen <michaelx.pedersen@intel.com>
Signed-off-by: Victor Morales <v.morales@samsung.com>
Change-Id: I2f84c662d183ba224e0edd8a218abe8b46c1fe45
Signed-off-by: Victor Morales <v.morales@samsung.com>
Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71301
Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
Reviewed-by: Victor Morales <chipahuac@hotmail.com>
Diffstat (limited to 'deploy.env')
-rw-r--r-- | deploy.env | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -3,11 +3,14 @@ export VENDOR=${VENDOR:-ericsson-pod2} export INSTALLER=bmra +# Deployment type. Supports "full" and "k8s" +export DEPLOYMENT=${DEPLOYMENT:-full} + # Name of host bridge to which the VM is connected to (used for PXE) export BRIDGE=pxebr # Jump VM details export VM_NAME=$(yq r $CURRENTPATH/hw_config/$VENDOR/pdf.yaml jumphost.name) -export USERNAME=ubuntu -export PROJECT_ROOT="/home/ubuntu" +export USERNAME=${USERNAME:-ubuntu} +export PROJECT_ROOT="${PROJECT_ROOT:-/home/ubuntu}" export ROOT_PASSWORD="root" # This is used for throubleshooting purposes |