From 426a8dd56f5a00f98b64ab23410b0c69b7b727a6 Mon Sep 17 00:00:00 2001 From: Arif Ali Date: Sat, 26 Dec 2020 21:05:23 +0000 Subject: [PATCH] fix function call --- manage-maas-nodes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manage-maas-nodes.sh b/manage-maas-nodes.sh index 46a7b78..ec44844 100755 --- a/manage-maas-nodes.sh +++ b/manage-maas-nodes.sh @@ -78,7 +78,7 @@ wipe_disks() { maas ${maas_profile} machine release ${system_id} # Ensure that the machine is in ready state before the next step - ensure_machine_ready ${system_id} + ensure_machine_in_state ${system_id} "Ready" # Stop the machine if it is running virsh --connect qemu:///system shutdown "$virt_node"