Bidirectional clipboard between your browser and VMs in the Proxmox noVNC console.
Proxmox's built-in noVNC console has no clipboard support — you can't paste text into a VM or copy text out of it. This script fixes that.
| ## Install Choco | |
| Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) | |
| ## Install latest Powershell version | |
| winget install --id Microsoft.Powershell --source winget | |
| # Install all packages from src file, one line = one package | |
| $packages=(Get-Content .\packages.txt) | |
| foreach ($pkg in $packages) | |
| { |
| chocolateygui | |
| vscode | |
| bitwarden | |
| git | |
| keepassxc | |
| discord | |
| javaruntime | |
| jre8 | |
| jdk11 | |
| nodejs |
| import os | |
| import sys | |
| deprecations = { | |
| "ActionTemplate": "ActivitiesTemplate", | |
| "ActivatedEffectTemplate": "ActivitiesTemplate", | |
| "EnchantmentField": "EnchantActivity", | |
| "EnchantmentData": "EnchantActivity", | |
| "SummonsField": "SummonActivity", | |
| "SummonsData": "SummonActivity", |
| #!/bin/bash | |
| # Colors | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' | |
| YELLOW='\033[0;33m' | |
| BLUE='\033[0;34m' | |
| NC='\033[0m' # No Color | |
| # Function to print colored output |
| #!/bin/bash | |
| set -e | |
| # Check root privileges | |
| if [ "$(id -u)" != "0" ]; then | |
| echo "This script must be run as root" >&2 | |
| exit 1 | |
| fi |
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY proxy.py . | |
| EXPOSE 8080 |