another stupidity
This commit is contained in:
parent
9140746fec
commit
059dfa7af1
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ message "create tmp script for reinstalling grub and kernel"
|
||||||
cat <<\EOF > /mnt/tmp/reinstall_kernel.sh
|
cat <<\EOF > /mnt/tmp/reinstall_kernel.sh
|
||||||
DEBIAN_FRONTEND=noninteractive
|
DEBIAN_FRONTEND=noninteractive
|
||||||
export DEBIAN_FRONTEND
|
export DEBIAN_FRONTEND
|
||||||
KERNEL_VER="$(ls -1 /boot/|grep "vmlinuz-"|sed 's/vmlinuz-//'|sort -g|head -n +1)"
|
KERNEL_VER="$(uname -r)"
|
||||||
#/usr/bin/apt --yes purge 'linux-image-*' 'grub-*'
|
#/usr/bin/apt --yes purge 'linux-image-*' 'grub-*'
|
||||||
/usr/bin/apt --yes --reinstall install \
|
/usr/bin/apt --yes --reinstall install \
|
||||||
linux-image-amd64 \
|
linux-image-amd64 \
|
||||||
|
|
Loading…
Reference in a new issue