From 5d28b70edce08ee912c433386599424f8202f303 Mon Sep 17 00:00:00 2001 From: "Michael S. Pedersen" Date: Fri, 23 Oct 2020 12:24:43 +0000 Subject: 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 Signed-off-by: Victor Morales Change-Id: I2f84c662d183ba224e0edd8a218abe8b46c1fe45 Signed-off-by: Victor Morales Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71301 Tested-by: jenkins-ci Reviewed-by: Rihab Banday Reviewed-by: Victor Morales --- deploy.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'deploy.sh') diff --git a/deploy.sh b/deploy.sh index b45825c..88e746b 100755 --- a/deploy.sh +++ b/deploy.sh @@ -52,13 +52,12 @@ copy_files_jump # --------------------------------------------------------------------- # Provision remote hosts -# --------------------------------------------------------------------- -provision_hosts - -# --------------------------------------------------------------------- # Setup networking (Adapt according to your network setup) # --------------------------------------------------------------------- -setup_network +if [[ "$DEPLOYMENT" == "full" ]]; then + provision_hosts + setup_network +fi # --------------------------------------------------------------------- # Provision k8s cluster (currently BMRA) -- cgit 1.2.3-korg