Remove the boot and shutdown process in helper VM
[snf-image] / snf-image-helper / common.sh
index e7f5ecb..5e2e27b 100644 (file)
@@ -85,6 +85,10 @@ report_error() {
     fi
 }
 
+system_poweroff() {
+    echo o > /proc/sysrq-trigger
+}
+
 get_base_distro() {
     local root_dir=$1