Browse Source

openshift-node: sync script with origin

Sync the script with the version used by the containerized Kubelet.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Giuseppe Scrivano 6 years ago
parent
commit
a5d03849eb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      roles/openshift_node/files/openshift-node

+ 1 - 1
roles/openshift_node/files/openshift-node

@@ -14,5 +14,5 @@ config=/etc/origin/node/bootstrap-node-config.yaml
 if [[ -f /etc/origin/node/node-config.yaml ]]; then
   config=/etc/origin/node/node-config.yaml
 fi
-flags=$( /usr/bin/openshift start node --write-flags "--config=${config}" --loglevel=${DEBUG_LOGLEVEL:-2} )
+flags=$( /usr/bin/openshift-node-config "--config=${config}" )
 exec /usr/bin/hyperkube kubelet --v=${DEBUG_LOGLEVEL:-2} ${flags}