summaryrefslogtreecommitdiff
path: root/cloudinit/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/util.py')
-rw-r--r--cloudinit/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py
index 38ca9573..11986447 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -553,7 +553,7 @@ def read_optional_seed(fill, base="", ext="", timeout=5):
raise
-def read_file_or_url(url, timeout, retries, file_retries):
+def read_file_or_url(url, timeout=5, retries=10, file_retries=0):
if url.startswith("/"):
url = "file://%s" % url
if url.startswith("file://"):