Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/guided.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/guided.py')
-rw-r--r--examples/guided.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/guided.py b/examples/guided.py
index d2447341..37f4cf72 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -3,6 +3,7 @@ import os
import time
import archinstall
+from archinstall import ConfigurationOutput
if archinstall.arguments.get('help'):
print("See `man archinstall` for help.")
@@ -257,7 +258,10 @@ if not archinstall.arguments.get('offline', False):
if not archinstall.arguments.get('silent'):
ask_user_questions()
-archinstall.output_configs(archinstall.arguments,show=False if archinstall.arguments.get('silent') else True)
+config_output = ConfigurationOutput(archinstall.arguments)
+if not archinstall.arguments.get('silent'):
+ config_output.show()
+config_output.save()
if archinstall.arguments.get('dry_run'):
exit(0)