Vdiclient

Материал из wiki.nntc.nnov.ru
Перейти к навигации Перейти к поиску

На базе Alt Straterkit MATE

wget http://nightly.altlinux.org/stable/x86_64/release/alt-p10-mate-20221209-x86_64.iso

Установка VDICLIENT

https://github.com/joshpatten/PVE-VDIClient

apt-get update -y
apt-get install python3-module-pip python3-modules-tkinter virt-viewer git -y
 
cd /opt/
git clone https://github.com/joshpatten/PVE-VDIClient.git
cd ./PVE-VDIClient/
chmod +x requirements.sh
./requirements.sh
cp vdiclient.py /usr/local/bin
chmod +x /usr/local/bin/vdiclient.py
mkdir /etc/vdiclient
cat << 'EOF' > /etc/vdiclient/vdiclient.ini
[General]
# This is the title that is diplayed to the user
title = VDI Login
# This is the PySimpleGui Theme that is used. Run vdiclient.py with flag `--list_themes` for a list of themes
theme = LightBlue
# Program Icon
icon = vdiicon.ico
# Logo displayed on all windows
logo = vdiclient.png
# Enable Kiosk mode, which does not allow the user to close anything
kiosk = False
# Enable/Disable Fullscreen mode (not applicable in Kiosk mode)
fullscreen = True
# Enable displaying SPICE ini file before opening virt-viewer
inidebug = False
# Select which guest types to display. Acceptable values: both, lxc, qemu
guest_type = both

[Authentication]
# This is the authentication backend that will be used to authenticate
auth_backend = pve
# If enabled, 2FA TOTP entry dialog will show
auth_totp = false
# If disabled, TLS certificate will not be checked
tls_verify = false
# User name (if using token)
#user = user
# API Token Name
#token_name = dvi
# API Token Value
#token_value = xxx-x-x-x-xxx

[Hosts]
# Hosts are entered as `IP/FQDN = Port`
#10.10.10.100 = 8006
#pve1.example.com = 8006

cluster-node1 = 8006

[SpiceProxyRedirect]
# The Spice Proxy provided by the Proxmox API may need to have its host/port rewritten
# These rewrite rules are written `IP:port = IP:port`
# 1. Use the inidebug and read the current proxy=pve1.example.com:3128
# 2. Add your proxmox ip to the right side e.g. 123.123.123.123:6000
#pve1.example.com:3128 = 123.123.123.123:6000

[AdditionalParameters]
# If you wish to define additional parameters to pass to virt-viewer you may define them here
# More parameter definitions here: https://www.mankier.com/1/remote-viewer
# Some Examples:
# Enable USB passthrough
enable-usbredir = true
# Enable auto USB device sharing
enable-usb-autoshare = true

EOF


cat << 'EOF' > /etc/hosts
127.0.0.1 localhost.localdomain localhost

10.207.151.243 cluster-node1
10.207.151.242 cluster-node2
10.207.151.241 cluster-node3
10.207.151.240 cluster-node4
10.207.151.239 cluster-node5
10.207.151.238 cluster-node6
10.207.151.237 cluster-node7
10.207.151.236 cluster-node8
10.207.151.235 cluster-node9
10.207.151.234 cluster-node10
EOF


cat << 'EOF' > /usr/share/applications/vdiclient.desktop
[Desktop Entry]
Exec=vdiclient.py
Icon=/usr/share/icons/Adwaita/32x32/devices/computer.png
Type=Application
Name=PVE-VDIClient
Categories=Network;
EOF

chmod +x /usr/share/applications/vdiclient.desktop

Ярлыки на рабочий стол

cp /usr/share/applications/mate-display-properties.desktop /etc/skel/Desktop/
cp /usr/share/applications/vdiclient.desktop /etc/skel/Desktop/
chmod +x /etc/skel/Desktop/*.desktop

Скелетон пользователя

cd /opt
cat << 'EOF' > skel.tgz.base64.txt
H4sIAAAAAAAAA+w9C3AkxXV7+PiJT85cjM9A7EbE5oAdaWf/utPprN/dCSTdotXdGS5E7p1paQfNTg/zkbSXFOaTYGKggJhQ/lChyuUQKnaBA4nLMXFhB+y4sE2cFK7EZZKQcsqmADsmGMdVuJK8NzMrzQp9dmZXeydrnuqpe3t63nS/fv0+PTM9XRLXppWZ7tgGQgIgl0i4aTZdl3oQE9OpXDqbTCeymVhCTGZz6RjJbGSjamCbFjUIiVHVUhXNXlit3nrHNyl0eeNvm8wQZMUwu/Bfa6+BA5xdffxFMSd64y8mxVwWxj+ThoQkWtuMlWGLj/9lZLKsmGRaURmBdN5QLItppFQlC/KMsCgVgq3L1GIdl5GRaVLlNpmnmkUsTqQy1WYY4QahskygKpMsbijMjJMbgbWEyQrUKzMCzGN45uUGUlE0ixnMtJgM2S7Sr6pE5RJVPXrQEAWKSowYzKJwpky45pDR2IJFDFvrAiIHuFGhFjb7Q0MHpxYWFqa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