Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-08-20 22:16:53 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-08-20 22:16:53 +0000
commit96e8cc4d5b4bf6e23c3d30a745c1c4ff7cd61770 (patch)
treebd703107a089b5cfb059ab95e1049ed24c27319e
parentd449bb4b1f4a23b329454683e67d7d15eaf91cf7 (diff)
Added a timeout on the HTTPS POST status after a successful install.
-rw-r--r--examples/guided.py2
-rw-r--r--profiles/52-54-00-12-34-56.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 1943a116..23785e7d 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -19,7 +19,7 @@ while (disk_password := getpass.getpass(prompt='Enter disk encryption password (
hostname = input('Desired hostname for the installation: ')
if len(hostname) == 0: hostname = 'ArchInstall'
-while (root_pw := getpass.getpass(prompt='Enter root password (leave blank for no password): ')):
+while (root_pw := getpass.getpass(prompt='Enter root password (leave blank to leave root disabled): ')):
root_pw_verification = getpass.getpass(prompt='And one more time for verification: ')
if root_pw != root_pw_verification:
archinstall.log(' * Passwords did not match * ', bg='black', fg='red')
diff --git a/profiles/52-54-00-12-34-56.py b/profiles/52-54-00-12-34-56.py
index 6e823360..352c5f66 100644
--- a/profiles/52-54-00-12-34-56.py
+++ b/profiles/52-54-00-12-34-56.py
@@ -38,4 +38,4 @@ with archinstall.Filesystem(harddrive, archinstall.GPT) as fs:
req = urllib.request.Request("https://archlinux.life/build/successful",
data=json.dumps(conditions).encode('utf8'),
headers={'content-type': 'application/json'})
- urllib.request.urlopen(req) \ No newline at end of file
+ urllib.request.urlopen(req, timeout=5) \ No newline at end of file