[DevOps] - replace HOST_IP with localhost 19/7119/1
authorIdan Amit <ia096e@intl.att.com>
Wed, 9 Aug 2017 16:27:51 +0000 (19:27 +0300)
committerIdan Amit <ia096e@intl.att.com>
Wed, 9 Aug 2017 16:27:51 +0000 (19:27 +0300)
Change-Id: I455480791a10ff3e266b1c65c7de97a31b5fefe2
Signed-off-by: Idan Amit <ia096e@intl.att.com>
sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-normatives/recipes/upgrade_Normatives.rb

index 1f71f8c..f782ce3 100644 (file)
@@ -10,8 +10,8 @@ bash "upgrade-normatives" do
     tar xvfz /tmp/normatives.tar.gz
     cd normatives/scripts/import/tosca/
     /bin/chmod +x upgradeNormative.py importGroupTypes.py
-    python upgradeNormative.py -i "#{node['HOST_IP']}" --debug=true > /var/lib/jetty/logs/upgradeNormative.log
-    python importGroupTypes.py -i "#{node['HOST_IP']}" > /var/lib/jetty/logs/importGroupTypes.log
+    python upgradeNormative.py -i localhost --debug=true > /var/lib/jetty/logs/upgradeNormative.log
+    python importGroupTypes.py -i localhost > /var/lib/jetty/logs/importGroupTypes.log
   EOH
 end