Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-04-13 07:09:58 +0000
committerGitHub <noreply@github.com>2021-04-13 07:09:58 +0000
commit4391dd68d5a7d46d40db6fccbf352ada6a1d1c63 (patch)
treed797437326c25210786a1995fc31251d9b200cfd /examples
parentc2958aba16cc93f3f017aa34e92bc939ef53252d (diff)
parent3034def365a0f139a41b20c8933e61e86f298eaf (diff)
Merge pull request #289 from dylanmtaylor/chroot-prompt
Implement chroot prompt after successful installation
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/guided.py b/examples/guided.py
index a43e78ab..7353b7a7 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -331,3 +331,11 @@ def perform_installation(mountpoint):
ask_user_questions()
perform_installation_steps()
+
+installation.log("For post-installation tips, see https://wiki.archlinux.org/index.php/Installation_guide#Post-installation", fg="yellow")
+choice = input("Would you like to chroot into the newly created installation and perform post-installation configuration? [Y/n] ")
+if choice.lower() in ("y", ""):
+ try:
+ installation.drop_to_shell()
+ except:
+ pass