From d7a7d19f8eaab2d2a4d565804529ff1abba49dfe Mon Sep 17 00:00:00 2001 From: Kimpe Andy Date: Sat, 16 Feb 2019 02:43:25 +0100 Subject: [PATCH] Update postinstall.sh --- postinstall.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/postinstall.sh b/postinstall.sh index 0e13436..798160d 100644 --- a/postinstall.sh +++ b/postinstall.sh @@ -10,10 +10,10 @@ apt-get -y dist-upgrade # install patch apt-get -y install patch # patch no licence thank andykimpe for update tested 4.4 working -auto check dir file pvemanagerlib.js for compatibility old v4.2.x and 4.4.x and auter update on v4 -pvemanagerlibdir="$(find /usr/share/pve-manager/ -name pvemanagerlib.js)" -sed -i "s|if (data.status !== 'Active') {|if (false && data.status !== 'Active') {|" "$pvemanagerlibdir" +wget https://raw.github.com/andykimpe/postinstall-proxmox/master/patch -qO- | patch -p0 # patch network défine virtio on default network card not updated wget https://raw.github.com/andykimpe/postinstall-proxmox/master/patch-virtio -qO- | patch -p0 +systemctl stop pveproxy +systemctl start pveproxy echo "OK" exit