You must create a config.properties file which includes the default configuration information about the server profiles, path to AWS keys, paths to specification files, HCB registry paths, and so on.
The file must be present at /data/vcps/config/config.properties.
An example file is shown below:
config.properties File
Note:
The STAGE2_INIT_SCRIPT_PATH must be set to boot.py path if you want to trigger Stage-2.
============Default properties============= STAGE2_BASE_PATH=/data/vcps/ STAGE1_BASE_PATH=/data/vcps/ STAGE2_INIT_SCRIPT_PATH=/data/boot.py VCPS_BUNDLE_DIR_STAGE2=/data/jenkins/userContent/ VCPS_BUNDLE_DIR_STAGE1=/data/jenkins/userContent/vcps/ HCB_VALIDATION_LOG_SHA_PATH=/data/vcps/report HCB_REGISTRY_PATH=/data/vcps/.registry SERVER_PROFILE_PATH=/data/vcps/server_profile.json SERVER_PROFILE_STATUS_REGISTRY=/data/vcps/server.registry =================Editable Properties========================= =====Dynamic Host Service API Properties===== HOST_SERVICE_IP=192.168.101.8 HOST_SERVICE_PORT=6999 ============================================== ============Add list of tests to be ignored in a file at below location======== HHEALTH_IGNORE_TESTID_PATH=/data/vcps/IgnoreTest ====================================================== HCB_SKIP_SHA_VALIDATION=false HCB_SKIP_HARDWARE_VALIDATION_EXCEPTION=false HCB_ESXI_FETCH_OUTPUT_PATH_CURRENT=/data/vcps/fetched_c.json HCB_ESXI_FETCH_OUTPUT_PATH_PREVIOUS=/data/vcps/fetched_p.json HCB_SPEC_CURRENT_OUTPUT_PATH=/data/vcps/current.json HCB_SDDC_SPEC_CURRENT_OUTPUT_PATH=/data/vcps/bringup_current.json HCB_NFS_SPEC_CURRENT_OUTPUT_PATH=/data/vcps/nfs_current.json HCB_SPEC_PREVIOUS_OUTPUT_PATH=/data/vcps/previous.json HCB_BRINGUP_CURRENT_OUTPUT_REST_SPEC_PATH=/data/vcps/rest_current.json HCB_BRINGUP_PREVIOUS_OUTPUT_REST_SPEC_PATH=/data/vcps/rest_previous.json UUID_BASE_PATH=/data/vcps SERVER_PROFILE_STATUS_LOGS=/data/vcps/server.registry HCB_MEGA_POP_HOST_IP=192.168.101.3 HCB_MEGA_POP_USERNAME=root HCB_MEGA_POP_PASSWORD=password HCB_ORCHESTRATOR_IP=192.168.101.2 HCB_ORCHESTRATOR_PASSWORD=password HCB_ORCHESTRATOR_USERNAME=root HCB_STAGE2_ORCHESTRATOR_IP=192.168.123.14 HCB_STAGE2_ORCHESTRATOR_PASSWORD=password HCB_STAGE2_ORCHESTRATOR_USERNAME=root HCB_ORCHESTRATOR_JENKINS_HTTPS_URL=https://192.168.101.2:8443 HCB_ORCHESTRATOR_JENKINS_USERNAME=admin HCB_ORCHESTRATOR_JENKINS_PASSWORD=password HCB_JENKINS_PEM_URL=https://192.168.101.2:8443/userContent/jenkins.pem HCB_TRUST_CERTIFICATE=true HCB_ENV_TYPE=TYPE_0 HCB_REST_API_USERNAME=vcpps HCB_REST_API_PASSWORD=password STAGE2_INIT_SCRIPT_PATH=boot.py ============End Editable properties ====Non-Editable Properties===== AWS_SECRET_ACCESS_KEY="" AWS_ACCESS_KEY_ID="" AWS_BUCKET_NAME=log-archive-vbme-vst AWS_BUCKET_FOLDER_NAME=vbme_vst_dev AWS_REGION_NAME=us-west-1 HCB_ENV_TYPE=TYPE_0 HCB_JENKINS_CONTAINER_VOLUME=/var/run/docker.sock:/run/docker.sock,/usr/bin/docker:/bin/docker,/data/jenkins/:/data/jenkins,/data/vcps/:/data/vcps,/data/runtime:/data/runtime HCB_MEGAPOP_CONTAINER_VOLUME=/data/vcps/log/:/data/vcps/log,/data/vcps/config/cert.jks:/data/vcps/config/cert.jks ===============End Non-Editable properties