mirror of
https://github.com/akuker/RASCSI.git
synced 2024-12-21 08:29:59 +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
|
USER pi
|
||||||
COPY --chown=pi:pi . .
|
COPY --chown=pi:pi . .
|
||||||
|
|
||||||
# Standalone RaSCSI web UI
|
# Install standalone RaSCSI web UI
|
||||||
RUN ./easyinstall.sh --run_choice=11
|
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
|
RUN ./easyinstall.sh --run_choice=6 --headless
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
@ -1429,8 +1429,8 @@ while [ "$1" != "" ]; do
|
|||||||
CONNECT_TYPE=$VALUE
|
CONNECT_TYPE=$VALUE
|
||||||
;;
|
;;
|
||||||
-r | --run_choice)
|
-r | --run_choice)
|
||||||
if ! [[ $VALUE =~ ^[1-9][0-9]?$ && $VALUE -ge 1 && $VALUE -le 12 ]]; then
|
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 12"
|
echo "ERROR: The run choice parameter must have a numeric value between 1 and 15"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
RUN_CHOICE=$VALUE
|
RUN_CHOICE=$VALUE
|
||||||
|
Loading…
Reference in New Issue
Block a user