summaryrefslogtreecommitdiffstats
path: root/yardstick/vTC/apexlake/heat_templates/vTC.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'yardstick/vTC/apexlake/heat_templates/vTC.yaml')
-rw-r--r--yardstick/vTC/apexlake/heat_templates/vTC.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/yardstick/vTC/apexlake/heat_templates/vTC.yaml b/yardstick/vTC/apexlake/heat_templates/vTC.yaml
index 3bc4dcdfb..3493328fe 100644
--- a/yardstick/vTC/apexlake/heat_templates/vTC.yaml
+++ b/yardstick/vTC/apexlake/heat_templates/vTC.yaml
@@ -81,7 +81,18 @@ resources:
ifconfig eth2 up
dhclient eth1
dhclient eth2
+
+ # Fix Network Confiuration
sed -i 's/localhost/localhost vtc/g' /etc/hosts
+ touch /etc/resolvconf/resolv.conf.d/tail
+ #echo 'nameserver 192.168.10.1' > /etc/resolvconf/resolv.conf.d/tail
+ #echo 'nameserver 10.20.0.2' > /etc/resolvconf/resolv.conf.d/tail
+ echo 'nameserver 10.118.32.193' > /etc/resolvconf/resolv.conf.d/tail
+ resolvconf -u
+
+
+ echo 'nameserver 10.118.32.193' > /etc/resolv.conf
+
# Install vTC Dependencies
apt-get update