]> git.ipfire.org Git - ipfire-2.x.git/commit
BUG12445: Fix for Hyper-V stuck 8 minutes at boot
authorThomas Cekal <admin@cekal.org>
Wed, 31 Mar 2021 22:42:35 +0000 (00:42 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 Apr 2021 15:38:02 +0000 (15:38 +0000)
commit5b17fea8e746cb9c71d49af918e6baabbc9b7aa9
tree250f134e49e4b6fec291191a67fa6b2510694fc1
parentf78eb45c09100b45e6b4c1297a8caa26785679a0
BUG12445: Fix for Hyper-V stuck 8 minutes at boot

Fix for Bug 12445: There is no proper way to distinguish between MS Azure and a local
Hyper-V installation Procedure: try to get the metadata info from the
internal MS metadata service at IP 169.254.169.254 If this fails the system
is running on an local Hyper-V instance wget takes too long to exit if the IP
is not reachable Added --timeout and --tries param to wget to reduce the
duation from 8 minutes to 9 seconds 9 seconds at one try should be enough

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Thomas Cekal <admin@cekal.org>
src/initscripts/helper/azure-setup