mirror of
https://github.com/rancher/plugins.git
synced 2025-07-07 12:10:20 +00:00
scripts: add DEBUG option
This commit is contained in:
parent
224ac412da
commit
06ea8c1e1f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user