X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=deploy.env;h=59a5f7150e9a20f597565fa8f14baa1a73980b48;hb=446636ba4edea0d3842d32e6854b3ab16c446410;hp=71a951a186a60d774516b868c5b00921acced92a;hpb=af104f92b348c51e20f5fbf3be78f532864804ab;p=kuberef.git diff --git a/deploy.env b/deploy.env index 71a951a..59a5f71 100644 --- a/deploy.env +++ b/deploy.env @@ -1,22 +1,31 @@ +# SPDX-FileCopyrightText: 2021 Anuket contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Define environment variables -export VENDOR=intel +# Vendor name - some examples are listed under kuberef/hw_config +export VENDOR=${VENDOR:-intel} + +# OS to be installed on target hosts +# Currently centos7 and ubuntu1804 are supported +export DISTRO=${DISTRO:-centos7} + +# k8s provisioiner details export INSTALLER=bmra +export BMRA_PROFILE=$(yq r $CURRENTPATH/hw_config/$VENDOR/idf.yaml bmra.profile) + +# 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 +# Specific infra engine SHA to avoid fetching latest master changes +export ENGINE_COMMIT_ID=${ENGINE_COMMIT_ID:-6253131} + # Jump VM details -export VM_NAME=kuberef-jump -export USERNAME=ubuntu -export PROJECT_ROOT="/home/ubuntu" - -# Network configuration details of PXE interface in VM -export PXE_IF=ens4 -export PXE_IF_IP=10.10.190.211 -export PXE_IF_MAC=52:54:00:4a:e8:2d -export NETMASK=255.255.255.0 - -# IPs of the provisioned nodes -export MASTER_IP=10.10.190.202 -export WORKER_IP=10.10.190.203 +export VM_NAME=$(yq r $CURRENTPATH/hw_config/$VENDOR/pdf.yaml jumphost.name) +export USERNAME=${USERNAME:-ubuntu} +export PROJECT_ROOT="${PROJECT_ROOT:-/home/ubuntu}" +export ROOT_PASSWORD="root" # This is used for throubleshooting purposes