5 echo "Starting the deployment on baremetal environment using $INSTALLER_TYPE. This could take some time..."
6 echo "--------------------------------------------------------"
9 export CONFDIR=$WORKSPACE/deploy/conf/hardware_environment/huawei_us_lab/pod1
10 export ISO_URL=file://$BUILD_DIRECTORY/compass.iso
11 export INSTALL_NIC=eth0
15 export OS_VERSION=${{COMPASS_OS_VERSION}}
16 export OPENSTACK_VERSION=${{COMPASS_OPENSTACK_VERSION}}
17 ./deploy.sh --dha $CONFDIR/dha.yml --network $CONFDIR/network.yml
19 echo "depolyment failed!"
24 echo "--------------------------------------------------------"
27 ssh_options="-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
28 sshpass -p root scp 2>/dev/null $ssh_options root@${{INSTALLER_IP}}:/var/ansible/run/openstack_${{COMPASS_OPENSTACK_VERSION}}-opnfv2/ansible.log ./ &> /dev/null