Skip to content

Commit

Permalink
Update postinstall.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
andykimpe authored Feb 16, 2019
1 parent ad88454 commit d7a7d19
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d7a7d19

Please sign in to comment.