mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 02:12:49 +00:00 
			
		
		
		
	Update (#7473)
This commit is contained in:
		@@ -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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user