pass SIGTERM to cloud hypervisor

This commit is contained in:
iceBear67
2026-07-05 19:10:38 +08:00
parent 3e4a23f402
commit b3ebdbf536
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/sh
set -euo pipefail
/usr/bin/cloud-hypervisor \
exec /usr/bin/cloud-hypervisor \
--kernel /boot/vmlinuz-virt --initramfs /boot/initramfs-virt \
--disk path=/image/vm.raw,image_type=raw \
--disk path=/image/data.raw,direct=on,image_type=raw \

View File

@@ -1,7 +1,7 @@
#!/bin/sh
set -euo pipefail
/usr/bin/cloud-hypervisor \
exec /usr/bin/cloud-hypervisor \
--kernel /boot/vmlinuz-virt --initramfs /boot/initramfs-virt \
--disk path=/image/vm.raw,image_type=raw \
--disk path=/image/data.raw,direct=on,image_type=raw \