Skip to content

Commit db57147

Browse files
scripts: fix external provision to use correct power state
The valid states are poweron and poweroff. Signed-off-by: Rohit Yadav <[email protected]>
1 parent 1272b13 commit db57147

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/vm/hypervisor/external/provisioner/provisioner.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ reboot() {
9696

9797
status() {
9898
parse_json "$1" || exit 1
99-
echo '{"status": "success", "power_state": "running"}'
99+
echo '{"status": "success", "power_state": "poweron"}'
100100
}
101101

102102
action=$1

0 commit comments

Comments
 (0)