Commit 6e45d146 authored by Hugo Hörnquist's avatar Hugo Hörnquist Committed by Andreas Kempe
Browse files

manage script improvement

parent 9549b203
......@@ -30,7 +30,8 @@ Ports:
Other files in this directory
-----------------------------
- domaindb.db -- SQLite Database
- domaindb.schema -- sqlite create script
- domaindb.sql -- mysql create script
- mysql_setup.sql -- mysql user create script
- domaindb.db -- SQLite Database
- domaindb.schema -- SQLite create script
- domaindb.sql -- MySQL create script
- mysql_setup.sql -- MySQL user create script
- test_data.sql -- MySQL dummy data
......@@ -9,6 +9,10 @@ case $1 in
--password=password \
lysns
;;
ssh)
echo "Password is 'password'"
ssh -p 2222 root@localhost
;;
start)
VBoxManage startvm LysMemberSQL --type headless
;;
......@@ -16,10 +20,13 @@ case $1 in
VBoxManage controlvm LysMemberSQL poweroff
;;
*)
echo "==== USAGE ====="
echo "For arg 1 use:"
echo "mysql: connect to mysql on port 2223"
echo "start: start vm"
echo "stop: stop vm"
cat <<- EOF
==== USAGE =====
For arg 1 use:
mysql: connect to mysql on port 2223
ssh: ssh's into a root shell
start: start vm
stop: stop vm
EOF
;;
esac
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment