pass SIGTERM to cloud hypervisor
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
/usr/bin/cloud-hypervisor \
|
exec /usr/bin/cloud-hypervisor \
|
||||||
--kernel /boot/vmlinuz-virt --initramfs /boot/initramfs-virt \
|
--kernel /boot/vmlinuz-virt --initramfs /boot/initramfs-virt \
|
||||||
--disk path=/image/vm.raw,image_type=raw \
|
--disk path=/image/vm.raw,image_type=raw \
|
||||||
--disk path=/image/data.raw,direct=on,image_type=raw \
|
--disk path=/image/data.raw,direct=on,image_type=raw \
|
||||||
|
|||||||
2
test.sh
2
test.sh
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
/usr/bin/cloud-hypervisor \
|
exec /usr/bin/cloud-hypervisor \
|
||||||
--kernel /boot/vmlinuz-virt --initramfs /boot/initramfs-virt \
|
--kernel /boot/vmlinuz-virt --initramfs /boot/initramfs-virt \
|
||||||
--disk path=/image/vm.raw,image_type=raw \
|
--disk path=/image/vm.raw,image_type=raw \
|
||||||
--disk path=/image/data.raw,direct=on,image_type=raw \
|
--disk path=/image/data.raw,direct=on,image_type=raw \
|
||||||
|
|||||||
Reference in New Issue
Block a user