mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-10 09:24:38 +00:00
Update (#7473)
This commit is contained in:
parent
462960d9bf
commit
d450e263f0
2 changed files with 5 additions and 13 deletions
|
@ -48,7 +48,11 @@
|
|||
"type": "info"
|
||||
},
|
||||
{
|
||||
"text": "Login credentials: `cat ~/rustdesk.creds`",
|
||||
"text": "To set admin password on Debian, type `cd /var/lib/rustdesk-api && rustdesk-api reset-admin-pwd <yournewpasswordhere>` inside LXC.",
|
||||
"type": "info"
|
||||
},
|
||||
{
|
||||
"text": "To see admin password on Alpine, type `cat ~/rustdesk.creds` inside LXC.",
|
||||
"type": "info"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -18,18 +18,6 @@ fetch_and_deploy_gh_release "rustdesk-hbbs" "rustdesk/rustdesk-server" "binary"
|
|||
fetch_and_deploy_gh_release "rustdesk-utils" "rustdesk/rustdesk-server" "binary" "latest" "/opt/rustdesk" "rustdesk-server-utils*amd64.deb"
|
||||
fetch_and_deploy_gh_release "rustdesk-api" "lejianwen/rustdesk-api" "binary" "latest" "/opt/rustdesk" "rustdesk-api-server*amd64.deb"
|
||||
|
||||
msg_info "Configuring RustDesk Server"
|
||||
ADMINPASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13)
|
||||
cd /var/lib/rustdesk-api
|
||||
$STD rustdesk-api reset-admin-pwd $ADMINPASS
|
||||
{
|
||||
echo "RustDesk WebUI"
|
||||
echo ""
|
||||
echo "Username: admin"
|
||||
echo "Password: $ADMINPASS"
|
||||
} >>~/rustdesk.creds
|
||||
msg_ok "Configured RustDesk Server"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue