Merge pull request #137 from ClusterLabs/scancore-debugging

* Added an explicit delete call when network changes.
main
digimer-bot 4 years ago committed by GitHub
commit 4099461ca1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      tools/anvil-configure-host

@ -1223,11 +1223,11 @@ sub reconfigure_network
}
# If we should reset, do so now.
# if ($anvil->data->{sys}{reboot})
# {
# $anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level => 0, 'print' => 1, key => "log_0631"});
# do_reboot($anvil);
# }
if ($anvil->data->{sys}{reboot})
{
$anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level => 0, 'print' => 1, key => "log_0631"});
do_reboot($anvil);
}
# Wait for a DB connection. We'll wait up to 130 seconds, as sometimes it takes a while for the network
# to start routing traffic.

Loading…
Cancel
Save