Add hostname of Test env to json

This will help us better identify which test environments are giving
trouble.

Change-Id: I1023b82905e35466c59066fc2b38aaee410d3664
This commit is contained in:
Derek Higgins
2014-03-13 16:03:13 +00:00
parent 214827488e
commit e1280a5d42

View File

@@ -49,6 +49,7 @@ jq -s add $DATAFILE - <<EOF > $NEW_JSON
"host-ip":"$HOSTIP",
"power_manager":"nova.virt.baremetal.virtual_power_driver.VirtualPowerManager",
"remote-operations":"1",
"remote-host":"$(hostname)",
"seed-ip":"$SEEDIP",
"seed-route-dev":"eth1",
"ssh-key":"$(python -c 'print open("/root/.ssh/test_env_rsa").read().replace("\n", "\\n")')",