Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDylan Taylor <dylan@dylanmtaylor.com>2021-04-12 10:09:37 -0400
committerDylan Taylor <dylan@dylanmtaylor.com>2021-04-12 10:09:37 -0400
commit3034def365a0f139a41b20c8933e61e86f298eaf (patch)
tree63c9af150f724a6985192b51779bb4bcbc3a2fe4 /examples
parentb44c0e51976ed3c177341c78da49ccec4cd81b5b (diff)
Move logic to guided
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 beb577c8..d50063f3 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -327,3 +327,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