full_install_osm.sh: fix bug 1116 related to node_exporter service installation 41/9241/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 30 Jun 2020 14:18:12 +0000 (14:18 +0000)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 30 Jun 2020 14:18:18 +0000 (14:18 +0000)
Change-Id: Ie407a79f82fe041ec02816c1b2868f980ad17d11
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/full_install_osm.sh

index 15cd1f3..8e00aa3 100755 (executable)
@@ -363,7 +363,7 @@ function install_prometheus_nodeexporter(){
             sudo cp /tmp/node_exporter-$PROMETHEUS_NODE_EXPORTER_TAG.linux-amd64/node_exporter /usr/local/bin
             sudo chown node_exporter:node_exporter /usr/local/bin/node_exporter
             sudo rm -rf /tmp/node_exporter-$PROMETHEUS_NODE_EXPORTER_TAG.linux-amd64*
-            sudo cp ${OSM_DEVOPS}/installers/docker/prometheus/node_exporter.service /etc/systemd/system/node_exporter.service
+            sudo cp ${OSM_DEVOPS}/installers/docker/prometheus_exporters/node_exporter.service /etc/systemd/system/node_exporter.service
             sudo systemctl daemon-reload
             sudo systemctl restart node_exporter
             sudo systemctl enable node_exporter