mirror of
https://github.com/akuker/RASCSI.git
synced 2024-12-30 05:29:47 +00:00
Enable web UI auth for test environment (#931)
This commit is contained in:
parent
e3e833b4d2
commit
198c10f70a
@ -21,10 +21,13 @@ WORKDIR /home/pi/RASCSI
|
||||
USER pi
|
||||
COPY --chown=pi:pi . .
|
||||
|
||||
# Standalone RaSCSI web UI
|
||||
# Install standalone RaSCSI web UI
|
||||
RUN ./easyinstall.sh --run_choice=11
|
||||
|
||||
# Wired network bridge
|
||||
# Enable web UI authentication
|
||||
RUN ./easyinstall.sh --run_choice=13
|
||||
|
||||
# Setup wired network bridge
|
||||
RUN ./easyinstall.sh --run_choice=6 --headless
|
||||
|
||||
USER root
|
||||
|
@ -1429,8 +1429,8 @@ while [ "$1" != "" ]; do
|
||||
CONNECT_TYPE=$VALUE
|
||||
;;
|
||||
-r | --run_choice)
|
||||
if ! [[ $VALUE =~ ^[1-9][0-9]?$ && $VALUE -ge 1 && $VALUE -le 12 ]]; then
|
||||
echo "ERROR: The run choice parameter must have a numeric value between 1 and 12"
|
||||
if ! [[ $VALUE =~ ^[1-9][0-9]?$ && $VALUE -ge 1 && $VALUE -le 15 ]]; then
|
||||
echo "ERROR: The run choice parameter must have a numeric value between 1 and 15"
|
||||
exit 1
|
||||
fi
|
||||
RUN_CHOICE=$VALUE
|
||||
|
Loading…
Reference in New Issue
Block a user