full_install_osm.sh: fix bug 1116 related to node_exporter service installation 42/9242/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:49 +0000 (14:18 +0000)
Change-Id: Ie407a79f82fe041ec02816c1b2868f980ad17d11
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/full_install_osm.sh

index 42d67b1..356615d 100755 (executable)
@@ -349,7 +349,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