blob: 59a5f7150e9a20f597565fa8f14baa1a73980b48 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# SPDX-FileCopyrightText: 2021 Anuket contributors
#
# SPDX-License-Identifier: Apache-2.0
# Define environment variables
# 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=$(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
|