mirror of
https://github.com/dockur/windows.git
synced 2025-12-19 08:50:37 +00:00
feat: Don't display domain (#1190)
This commit is contained in:
@@ -723,8 +723,7 @@ updateXML() {
|
||||
sed -i "s/<Username>Docker<\/Username>/<Username>$user<\/Username>/g" "$asset"
|
||||
fi
|
||||
|
||||
[ -n "$PASSWORD" ] && pass="$PASSWORD"
|
||||
[ -z "$pass" ] && pass="admin"
|
||||
[ -n "$PASSWORD" ] && pass="$PASSWORD" || pass="admin"
|
||||
|
||||
pw=$(printf '%s' "${pass}Password" | iconv -f utf-8 -t utf-16le | base64 -w 0)
|
||||
admin=$(printf '%s' "${pass}AdministratorPassword" | iconv -f utf-8 -t utf-16le | base64 -w 0)
|
||||
|
||||
Reference in New Issue
Block a user