diff --git a/common.sh b/common.sh index b4b9345e5..c86807659 100644 --- a/common.sh +++ b/common.sh @@ -533,6 +533,19 @@ if [[ ! -z ${AGENT_E2E_TEST_SCENARIO} ]]; then exit 1 fi ;; + "SNOMIN" ) + export NUM_MASTERS=1 + export MASTER_VCPU=4 + export MASTER_DISK=100 + export MASTER_MEMORY=32768 + export NUM_WORKERS=0 + export NETWORK_TYPE="OVNKubernetes" + export AGENT_PLATFORM_TYPE="${AGENT_PLATFORM_TYPE:-"none"}" + if [[ "${AGENT_PLATFORM_TYPE}" != "external" ]] && [[ "${AGENT_PLATFORM_TYPE}" != "none" ]]; then + echo "Invalid value ${AGENT_PLATFORM_TYPE}, use 'none' or 'external'." + exit 1 + fi + ;; *) invalidAgentValue esac diff --git a/config_example.sh b/config_example.sh index c8042590b..3afe94b78 100755 --- a/config_example.sh +++ b/config_example.sh @@ -839,6 +839,10 @@ set -x # - SNO_IPV6 # - SNO_IPV4_DHCP # - SNO_IPV6_DHCP +# - SNOMIN_IPV4 +# - SNOMIN_IPV6 +# - SNOMIN_IPV4_DHCP +# - SNOMIN_IPV6_DHCP # When set, the code internally sets other low level details such as disk size, memory, number of masters and workers, # cpu and ip stack. # This config variable is used only by the agent based installer and is required.