mirror of
https://github.com/AlbrechtL/openwrt-docker.git
synced 2026-10-15 08:01:26 +00:00
Add qemu guest agend to image. Do migration via chroot instead of qemu. Add grateful shutdown and reboot.
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
{
|
||||
"title": "Openwrt control",
|
||||
"title": "OpenWrt control",
|
||||
"port": "5000",
|
||||
|
||||
"access": {
|
||||
"allowed_users": "*",
|
||||
"admin_users": "*"
|
||||
"allowed_users": "*"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "98 Hard reboot",
|
||||
"description": "Hard reboot of OpenWrt VM",
|
||||
"script_path": "/run/qemu_qmp.sh -r"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "6 Reboot",
|
||||
"description": "Reboot OpenWrt VM",
|
||||
"script_path": "/run/qemu_qmp.sh -R"
|
||||
}
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"name": "98 Reset",
|
||||
"description": "Hard reset of OpenWrt VM",
|
||||
"script_path": "/run/qemu_qmp.sh -r"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "5 Stop",
|
||||
"description": "Stop OpenWrt VM",
|
||||
"script_path": "supervisorctl stop openwrt"
|
||||
"script_path": "/run/qemu_qmp.sh -S"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user