mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2025-03-09 15:39:58 +00:00
Add more secure VNC password generation. Update osx-serial-generator submodule. Acknowledge OpenCore bootloader usage.
This commit is contained in:
parent
37ed54da3d
commit
408bde5aa2
4 changed files with 17 additions and 7 deletions
|
@ -7,7 +7,7 @@
|
|||
#
|
||||
# Title: Mac on Docker (Docker-OSX) [VNC EDITION]
|
||||
# Author: Sick.Codes https://sick.codes/
|
||||
# Version: 3.0
|
||||
# Version: 3.1
|
||||
# License: GPLv3+
|
||||
#
|
||||
# All credits for OSX-KVM and the rest at Kholia's repo: https://github.com/kholia/osx-kvm
|
||||
|
@ -113,7 +113,7 @@ RUN cat vnc.sh Launch.sh > Launch_custom.sh
|
|||
|
||||
RUN chmod +x Launch_custom.sh
|
||||
|
||||
RUN tee vncpasswd_file <<< "${VNC_PASSWORD:=$(openssl rand -hex 4)}"
|
||||
RUN tee vncpasswd_file <<< "${VNC_PASSWORD:="$(tr -dc '[:graph:]' </dev/urandom | head -c8)"}"
|
||||
RUN vncpasswd -f < vncpasswd_file > ${HOME}/.vnc/passwd
|
||||
|
||||
RUN chmod 600 ~/.vnc/passwd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue