]>
Commit | Line | Data |
---|---|---|
12e4776a FG |
1 | #! /bin/sh |
2 | ||
3980e2e5 | 3 | # Abort if any command returns an error value |
12e4776a FG |
4 | set -e |
5 | ||
12e4776a FG |
6 | case "$1" in |
7 | configure) | |
12e4776a FG |
8 | # cleanup - remove Proxmox Release Key key from /etc/apt/trusted.gpg |
9 | /usr/bin/apt-key --keyring /etc/apt/trusted.gpg del 9887F95A >/dev/null 2>&1 || /bin/true | |
10 | ||
11 | # cleanup - remove old stretch-incompatible variant of installing release key | |
12 | rm -f /etc/apt/trusted.gpg.d/proxmox-ve.gpg /etc/apt/trusted.gpg.d/proxmox-ve.gpg~ | |
13 | ||
14 | # setup kernel links for installation CD (rescue boot) | |
15 | mkdir -p /boot/pve | |
ff5bdd66 FG |
16 | ln -sf /boot/pve/vmlinuz-4.15 /boot/pve/vmlinuz |
17 | ln -sf /boot/pve/initrd.img-4.15 /boot/pve/initrd.img | |
12e4776a | 18 | ;; |
12e4776a FG |
19 | esac |
20 | ||
21 | exit 0 |