diff --git a/proxmox_install_PVE8.py b/proxmox_install_PVE8.py index 0d43a08..ecec6b0 100644 --- a/proxmox_install_PVE8.py +++ b/proxmox_install_PVE8.py @@ -985,12 +985,20 @@ def step2(self): if self.desktop == "plasma-light": apt_install('lm-sensors curl firefox-esr firefox-esr-l10n-de virt-viewer kde-plasma-desktop qapt-deb-installer filelight khelpcenter mpv task-german-kde-desktop task-german hunspell-de-at hunspell-de-ch hyphen-de mythes-de-ch mythes-de git kate') run_cmd('apt remove -y konqueror juk dragonplayer timidity zutty network-manager sweeper', argShell=True) - run_cmd('wget -O /tmp/KDE_Plasma5_Default_Profile-Proxmox5.tar.gz https://git.styrion.net/iteas/iteas-proxmox-installer/raw/main/KDE_Plasma5_Default_Profile-Proxmox5.tar.gz') + run_cmd('wget -O /tmp/KDE_Plasma5_pve_profile.tar.gz https://git.styrion.net/iteas/iteas-proxmox-installer/raw/main/KDE_Plasma5_pve_profile.tar.gz') run_cmd('rm -rf /etc/skel', argShell=True) - run_cmd('tar -xzf /tmp/KDE_Plasma5_Default_Profile-Proxmox5.tar.gz -C /etc', argShell=True) - run_cmd('mv /etc/KDE_Plasma5_Default_Profile-master /etc/skel', argShell=True) - run_cmd('rm /tmp/KDE_Plasma5_Default_Profile-Proxmox5.tar.gz', argShell=True) - run_cmd('useradd iteasadm -c iteasadm -G dialout,cdrom,video,plugdev,games,sudo -m -s /bin/zsh -U -p \'$1$CvBQaSeR$0phJus.ly543oq2fKOtT40\'', argShell=True) + run_cmd('mkdir /etc/skel', argShell=True) + run_cmd('tar -xzf /tmp/KDE_Plasma5_pve_profile.tar.gz -C /etc/skel', argShell=True) + run_cmd('rm /tmp/KDE_Plasma5_pve_profile.tar.gz', argShell=True) + run_cmd('mkdir /usr/local/share/wallpapers', argShell=True) + run_cmd('mkdir /usr/local/share/pixmaps', argShell=True) + run_cmd('cd /usr/local/share/pixmaps', argShell=True) + run_cmd('wget https://git.styrion.net/iteas/iteas-proxmox-installer/raw/main/graphics/proxmox%20icon.png') + run_cmd('wget https://git.styrion.net/iteas/iteas-proxmox-installer/raw/main/graphics/proxmox_logo_white_background.png') + run_cmd('wget https://git.styrion.net/iteas/iteas-proxmox-installer/raw/main/graphics/pve-kick.png') + run_cmd('wget -O /usr/local/share/wallpapers/serverfarm.jpg https://git.styrion.net/iteas/iteas-proxmox-installer/raw/main/graphics/serverfarm.jpg') + run_cmd('wget -O /usr/share/sddm/themes/breeze/theme.conf.user https://git.styrion.net/iteas/iteas-proxmox-installer/raw/main/conf/theme.conf.user', argShell=True) + run_cmd('useradd pveadm -c pveadm -G dialout,cdrom,video,plugdev,games,sudo -m -s /bin/zsh -U -p \'$1$CvBQaSeR$0phJus.ly543oq2fKOtT40\'', argShell=True) elif self.desktop == "plasma-light-win": apt_install('lm-sensors curl nomachine firefox-esr firefox-esr-l10n-de virt-viewer kde-plasma-desktop qapt-deb-installer filelight khelpcenter mpv task-german-kde-desktop task-german hunspell-de-at hunspell-de-ch hyphen-de mythes-de-ch mythes-de git kate') @@ -1017,10 +1025,12 @@ def step2(self): run_cmd('rm /tmp/KDE_Plasma5_pve_profile.tar.gz', argShell=True) run_cmd('mkdir /usr/local/share/wallpapers', argShell=True) run_cmd('mkdir /usr/local/share/pixmaps', argShell=True) - run_cmd('wget -O /usr/local/share/pixmaps/. https://git.styrion.net/iteas/iteas-proxmox-installer/raw/main/graphics/proxmox%20icon.png') - run_cmd('wget -O /usr/local/share/pixmaps/. https://git.styrion.net/iteas/iteas-proxmox-installer/raw/main/graphics/proxmox_logo_white_background.png') - run_cmd('wget -O /usr/local/share/pixmaps/. https://git.styrion.net/iteas/iteas-proxmox-installer/raw/main/graphics/pve-kick.png') - run_cmd('wget -O /usr/local/share/wallpapers/. https://git.styrion.net/iteas/iteas-proxmox-installer/raw/main/graphics/serverfarm.jpg') + run_cmd('cd /usr/local/share/pixmaps', argShell=True) + run_cmd('wget https://git.styrion.net/iteas/iteas-proxmox-installer/raw/main/graphics/proxmox%20icon.png') + run_cmd('wget https://git.styrion.net/iteas/iteas-proxmox-installer/raw/main/graphics/proxmox_logo_white_background.png') + run_cmd('wget https://git.styrion.net/iteas/iteas-proxmox-installer/raw/main/graphics/pve-kick.png') + run_cmd('wget -O /usr/local/share/wallpapers/serverfarm.jpg https://git.styrion.net/iteas/iteas-proxmox-installer/raw/main/graphics/serverfarm.jpg') + run_cmd('wget -O /usr/share/sddm/themes/breeze/theme.conf.user https://git.styrion.net/iteas/iteas-proxmox-installer/raw/main/conf/theme.conf.user', argShell=True) run_cmd('useradd pveadm -c pveadm -G dialout,cdrom,video,plugdev,games,sudo -m -s /bin/zsh -U -p \'$1$CvBQaSeR$0phJus.ly543oq2fKOtT40\'', argShell=True)