diff options
| author | Marc Vertes <mvertes@free.fr> | 2021-04-02 12:24:14 +0200 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2021-04-02 12:24:14 +0200 |
| commit | c9c21b36d68b75374b8bed64f1bed8b04b21b69f (patch) | |
| tree | 7a7e12733bff6eaab6ea82a4296693336ca047c0 | |
| parent | ae04cc260d63765fc20a2d7bb21d121986f71445 (diff) | |
update
| -rwxr-xr-x | bin/update_kernel_host | 8 |
1 files changed, 8 insertions, 0 deletions
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/ |
