Skip to content
Snippets Groups Projects
Commit 20c8ac84 authored by Ravi Tripathi's avatar Ravi Tripathi
Browse files

Use knightly-network instead of making changes to resolv.conf

parent 02b9119d
No related branches found
No related tags found
Loading
Pipeline #9453 failed with stages
in 1 hour, 33 minutes, and 1 second
......@@ -259,12 +259,6 @@ test_ood_image:
fi
- echo OLD_INSTANCE_ID=$OLD_INSTANCE_ID | tee -a instance.env
- |
cat > user_data.txt << OEOF
#!/bin/bash
cat > /etc/resolv.conf << EOF
search openstack.internal cm.cluster rc.uab.edu ib.cluster drac.cluster eth.cluster ib-hdr.cluster
nameserver 172.20.0.25
EOF
echo "$DEV_KEY" >> /root/.ssh/authorized_keys
ip route replace default via 10.250.0.3 dev eth0
ip route add 172.20.0.0/16 via 10.250.0.1 dev eth0
......@@ -277,11 +271,10 @@ test_ood_image:
- >
export NEW_INSTANCE_ID=$(openstack server create
-c id -f value --image $BUILT_OOD_IMAGE_ID
--network openstack-cheaha-internal
--network knightly-network
--security-group ood-https-ports
--security-group node-exporter
--security-group allow-ssh
--user-data user_data.txt
--flavor $INSTANCE_FLAVOR
--wait
$OOD_INSTANCE_NAME)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment