Create CNI bin dir in OpenShift DevStack plugin
In case of containerized deployment we haven't been creating
$CNI_BIN_DIR directory. This made containerized deployments with
OpenShift to fail. This commit solves that by adding `mkdir` just before
the directory is needed as OpenShift installation should not depend on
Kuryr installation.
Closes-Bug:
@@ -717,6 +717,7 @@ function run_openshift_node {
local command
#install required CNI loopback driver
+ sudo mkdir -p "$CNI_BIN_DIR"
curl -L "$OPENSHIFT_CNI_BINARY_URL" | sudo tar -C "$CNI_BIN_DIR" -xzvf - ./loopback
command="/usr/local/bin/openshift start node \
--kubeconfig=${OPENSHIFT_DATA_DIR}/master.kubelet-client.kubeconfig \
