Add 'ls.sh' script
This commit is contained in:
parent
ee0d114b08
commit
5905847b1c
2 changed files with 20 additions and 0 deletions
|
|
@ -176,6 +176,14 @@ sudo bash /distillery/shell.sh SLUG
|
|||
|
||||
This will open a shell in the provided WissKI instance.
|
||||
|
||||
## List all instances -- 'ls.sh'
|
||||
|
||||
To list all instances, the following command can be used:
|
||||
|
||||
```bash
|
||||
sudo bash /distillery/ls.sh
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
This project and associated files in this repository are licensed as follows:
|
||||
|
|
|
|||
12
distillery/ls.sh
Normal file
12
distillery/ls.sh
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# read the lib/shared.sh and read the slug argument.
|
||||
DISABLE_LOG=1
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
cd "$DIR"
|
||||
source "$DIR/lib/lib.sh"
|
||||
DISABLE_LOG=0
|
||||
|
||||
# list all the existing instances
|
||||
sql_bookkeep_list
|
||||
Loading…
Add table
Add a link
Reference in a new issue