summaryrefslogtreecommitdiffstats
path: root/node-admin
diff options
context:
space:
mode:
authorHarald Musum <musum@yahoo-inc.com>2017-03-27 14:45:51 +0200
committerAndreas Eriksen <andreer@pvv.ntnu.no>2017-03-27 14:45:51 +0200
commit2f8d41fcdfd841095870104eab4260b5cf50b61d (patch)
tree96f396f31708bea010a86e9ca2b1d7ffb753f4b9 /node-admin
parent5de34d52481b6bb289f0775d087dcef82c20f350 (diff)
Use node-admin as username when calling vespa-routing (#2079)
Diffstat (limited to 'node-admin')
-rwxr-xr-xnode-admin/include/nodectl-instance.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/node-admin/include/nodectl-instance.sh b/node-admin/include/nodectl-instance.sh
index 2d3afcc840f..ed5f42fe5e1 100755
--- a/node-admin/include/nodectl-instance.sh
+++ b/node-admin/include/nodectl-instance.sh
@@ -99,7 +99,7 @@ container_drain() {
Resume() {
# Always start vip for now
- $echo $VESPA_HOME/bin/vespa-routing vip -u chef in
+ $echo $VESPA_HOME/bin/vespa-routing vip -u node-admin in
# Start filebeat if configured
if [ -f /etc/filebeat/filebeat.yml ] ; then
@@ -142,7 +142,7 @@ Stop() {
Suspend() {
# Always stop vip for now
- $echo $VESPA_HOME/bin/vespa-routing vip -u chef out
+ $echo $VESPA_HOME/bin/vespa-routing vip -u node-admin out
if has_searchnode; then
$echo $VESPA_HOME/bin/vespa-proton-cmd --local prepareRestart