public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Thomas Cekal <admin@cekal.org>
To: development@lists.ipfire.org
Subject: [PATCH] BUG12445: Fix for Hyper-V stuck 8 minutes at boot
Date: Fri, 02 Apr 2021 00:51:29 +0200	[thread overview]
Message-ID: <20210401225129.4479-1-admin@cekal.org> (raw)
In-Reply-To: <ED167FFC-2BF7-4D1F-B2E9-36FE1F2B7A71@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 865 bytes --]

Hi Michael,

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


-Thomas
Signed-off-by: Thomas Cekal <admin(a)cekal.org>

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

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() {
-- 
2.17.1


      reply	other threads:[~2021-04-01 22:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210331224236.12971-1-admin@cekal.org>
2021-04-01  9:32 ` Michael Tremer
2021-04-01 22:51   ` Thomas Cekal [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210401225129.4479-1-admin@cekal.org \
    --to=admin@cekal.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox