initial
This commit is contained in:
15
powerwall.sh
Executable file
15
powerwall.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
# powerwall - CLI commands to control VM guest power
|
||||
|
||||
action="$1"
|
||||
FOLDER='/opt/idssys/powerwall'
|
||||
VERS='1.030921'
|
||||
|
||||
|
||||
source /opt/idssys/settings/powerwall.conf
|
||||
source /opt/idssys/defaults/colors.inc
|
||||
source /opt/idssys/defaults/default.inc
|
||||
|
||||
ssh root@10.5.10.35 '/vmfs/volumes/NFS_ESXi-Vault/esxi-shutdown.sh > /dev/null 2>&1' & > /dev/null 2>&1
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user