Add 'usr/local/bin/virsh'
This commit is contained in:
1 parent
a2f2bff98f
commit
5eb1cd7ae3
1 file changed
+16
@@ -0,0 +1,16 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
|
||||||
|
|
||||||
|
INTERACTIVE=${INTERACTIVE:-false}
|
||||||
|
PARAMETERS=${PARAMETERS:-}
|
||||||
|
|
||||||
|
if [[ -t 0 ]]; then
|
||||||
|
INTERACTIVE=true
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ $INTERACTIVE == "true" ]]; then
|
||||||
|
PARAMETERS="$PARAMETERS -it"
|
||||||
|
fi
|
||||||
|
|
||||||
|
docker exec $PARAMETERS nova_libvirt virsh "$@"
|
||||||
Reference in new issue
Block a user