SW Download als role, kernel Bug
This commit is contained in:
parent
29a5b8841e
commit
98bdbf9daa
21 changed files with 649 additions and 407 deletions
|
@ -1,14 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
srvpath=/var/www/html/javadev
|
||||
mkdir -p $srvpath
|
||||
rm -f $srvpath/*
|
||||
cd $srvpath || exit 1
|
||||
|
||||
greenfoot=https://www.greenfoot.org/download/files/Greenfoot-linux-371.deb
|
||||
bluej=https://www.bluej.org/download/files/BlueJ-linux-520.deb
|
||||
|
||||
wget $greenfoot -O $srvpath/greenfoot.deb
|
||||
wget $bluej -O $srvpath/bluej.deb
|
||||
|
||||
|
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