How to setup Proxmox to use Keycloak as authentication realm.
root@proxmox:/etc/pve# cat domains.cfg
pam: pam
comment Linux PAM standard authentication
package main | |
import ( | |
"flag" | |
"fmt" | |
"log" | |
"os" | |
"os/signal" | |
"syscall" | |
) |
{ | |
"key_events": { | |
"key_unknown": "adb shell input keyevent 0", | |
"key_soft_left": "adb shell input keyevent 1", | |
"key_soft_right": "adb shell input keyevent 2", | |
"key_home": "adb shell input keyevent 3", | |
"key_back": "adb shell input keyevent 4", | |
"key_call": "adb shell input keyevent 5", | |
"key_endcall": "adb shell input keyevent 6", | |
"key_0": "adb shell input keyevent 7", |
package main | |
import ( | |
"context" | |
"errors" | |
"fmt" | |
"log" | |
"os" | |
"os/exec" | |
"syscall" |
#!/bin/bash | |
installPackage=false | |
function process | |
{ | |
packageName=$1 | |
echo "######### key : $packageName" | |
v=$(eval "apt-cache policy $packageName | grep 'Candidate:' | cut -c 14-") | |
echo "######### version: $v" |
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
package main | |
import ( | |
"fmt" | |
"io" | |
"log" | |
"routes" | |
"net/http" | |
) |