From 8867b0a2d59bb6a2747a54c89a772cc5443308a5 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sat, 5 Feb 2022 16:26:29 +0100 Subject: update --- bin/update_kernel_host | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin') diff --git a/bin/update_kernel_host b/bin/update_kernel_host index 6180921..d159417 100755 --- a/bin/update_kernel_host +++ b/bin/update_kernel_host @@ -2,6 +2,11 @@ # After 'apk upgrade', update kernel and initrd on VM host +if [ -f /etc/arch-release ]; then + scp /boot/Image /boot/Image /boot/initramfs-linux.img marc@m1:.vm/a1 + exit +fi + sudo cp /boot/initramfs-virt /tmp sudo chmod a+r /tmp/initramfs-virt gunzip < /boot/vmlinuz-virt > /tmp/vmlinux -- cgit v1.2.3