From fb9b1b555db20d3ddfa0618a7faba3ae2ec395e5 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Tue, 30 Apr 2019 01:05:25 +0300 Subject: soft of by default --- kvmd/validators/kvm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kvmd/validators') diff --git a/kvmd/validators/kvm.py b/kvmd/validators/kvm.py index 09bd7c2b..170c0cc9 100644 --- a/kvmd/validators/kvm.py +++ b/kvmd/validators/kvm.py @@ -31,7 +31,7 @@ from .basic import valid_number # ===== def valid_atx_power_action(arg: Any) -> str: - return check_string_in_list(arg, "ATX power action", ["on", "off", "off_soft", "reset"]) + return check_string_in_list(arg, "ATX power action", ["on", "off", "off_hard", "reset_hard"]) def valid_atx_button(arg: Any) -> str: -- cgit v1.2.3