mirror of
https://github.com/rancher/plugins.git
synced 2025-09-02 10:10:49 +00:00
scripts: add DEBUG option
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [[ ${DEBUG} -gt 0 ]]; then set -x; fi
|
||||
|
||||
NETCONFPATH=${NETCONFPATH-/etc/cni/net.d}
|
||||
|
||||
function exec_plugins() {
|
||||
|
@@ -1,5 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
if [[ ${DEBUG} -gt 0 ]]; then set -x; fi
|
||||
|
||||
# Run a command in a private network namespace
|
||||
# set up by CNI plugins
|
||||
|
Reference in New Issue
Block a user