BUG12445: Fix for Hyper-V stuck 8 minutes at boot

Message ID 20210401225129.4479-1-admin@cekal.org
State Accepted
Headers
Series BUG12445: Fix for Hyper-V stuck 8 minutes at boot |

Commit Message

Thomas Cekal April 1, 2021, 10:51 p.m. UTC
  Hi Michael,

yeah, sounds good. Here's the updated patch.


-Thomas
Signed-off-by: Thomas Cekal <admin@cekal.org>

---
 src/initscripts/helper/azure-setup | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/src/initscripts/helper/azure-setup b/src/initscripts/helper/azure-setup
index a0d547588..12a06acf2 100644
--- a/src/initscripts/helper/azure-setup
+++ b/src/initscripts/helper/azure-setup
@@ -9,7 +9,7 @@  export PATH=/usr/local/sbin:/usr/local/bin:${PATH}
 get() {
 	local file="${1}"
 
-	wget --timeout=10 --tries=1 -qO - --header="Metadata:true" "http://169.254.169.254/metadata/instance/${file}?api-version=2019-06-01&format=text"
+	wget --timeout=3 --tries=3 -qO - --header="Metadata:true" "http://169.254.169.254/metadata/instance/${file}?api-version=2019-06-01&format=text"
 }
 
 format_mac() {