projects
/
snf-image
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove the boot and shutdown process in helper VM
[snf-image]
/
snf-image-helper
/
common.sh
diff --git
a/snf-image-helper/common.sh
b/snf-image-helper/common.sh
index
e7f5ecb
..
5e2e27b
100644
(file)
--- a/
snf-image-helper/common.sh
+++ b/
snf-image-helper/common.sh
@@
-85,6
+85,10
@@
report_error() {
fi
}
+system_poweroff() {
+ echo o > /proc/sysrq-trigger
+}
+
get_base_distro() {
local root_dir=$1