1
0
Fork 0

Fix docker script and document (#7786)

Fixed error when keyboard parameter is omitted in interactive mode.
This commit is contained in:
shela 2020-01-10 09:44:16 +09:00 committed by Joel Challis
parent 886eb98e2a
commit 5a02cc00a4
2 changed files with 5 additions and 2 deletions

View file

@ -37,6 +37,9 @@ else
exit 1
fi
fi
if [ -z "$keyboard" ]; then
keyboard=all
fi
if [ -n "$target" ]; then
if [ "$(uname)" = "Linux" ] || docker-machine active >/dev/null 2>&1; then
usb_args="--privileged -v /dev:/dev"