From c9c21b36d68b75374b8bed64f1bed8b04b21b69f Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Fri, 2 Apr 2021 12:24:14 +0200 Subject: update --- bin/update_kernel_host | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 bin/update_kernel_host diff --git a/bin/update_kernel_host b/bin/update_kernel_host new file mode 100755 index 0000000..6180921 --- /dev/null +++ b/bin/update_kernel_host @@ -0,0 +1,8 @@ +#!/bin/sh -ex + +# After 'apk upgrade', update kernel and initrd on VM host + +sudo cp /boot/initramfs-virt /tmp +sudo chmod a+r /tmp/initramfs-virt +gunzip < /boot/vmlinuz-virt > /tmp/vmlinux +scp /tmp/initramfs-virt /tmp/vmlinux marc@m1:.vm/vm1/ -- cgit v1.2.3