SW Download als role, kernel Bug
This commit is contained in:
parent
29a5b8841e
commit
98bdbf9daa
21 changed files with 649 additions and 407 deletions
16
scripts/qgm-power.sh
Executable file
16
scripts/qgm-power.sh
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
. /etc/lmn7-netboot.conf
|
||||
|
||||
filter=$1
|
||||
|
||||
cd $NBROOT || exit 1
|
||||
|
||||
if [ "x$2" == "xoff" ]; then
|
||||
ansible-playbook -i $INVENTORY -l $filter shutdown.yml
|
||||
fi
|
||||
|
||||
if [ "x$2" == "xon" ]; then
|
||||
ansible-playbook -i $INVENTORY -l $filter wol.yml
|
||||
fi
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue