From 158143715e4ac792627f9de056202418da0351f7 Mon Sep 17 00:00:00 2001 From: "Fabio M. Di Nitto" Date: Wed, 22 Mar 2023 07:40:26 +0100 Subject: [PATCH] virt-install should not --wait on VM to be provisioned Resolves: https://github.com/ClusterLabs/anvil/issues/277 Signed-off-by: Fabio M. Di Nitto --- tools/anvil-provision-server | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/anvil-provision-server b/tools/anvil-provision-server index 819af90b..8a8435cb 100755 --- a/tools/anvil-provision-server +++ b/tools/anvil-provision-server @@ -532,7 +532,7 @@ sub provision_server { $shell_call .= " --disk path=".$anvil->data->{job}{driver_iso_path}.",device=cdrom,shareable=on,boot.order=3 --force \\\n"; } - $shell_call .= " --noautoconsole --wait -1 > /var/log/anvil-server_".$server.".log\n"; + $shell_call .= " --noautoconsole > /var/log/anvil-server_".$server.".log\n"; $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => { shell_call => $shell_call }}); $anvil->Job->update_progress({