index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Daniel <blackrabbit256@gmail.com> | 2022-03-01 03:03:37 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-28 17:03:37 +0100 |
commit | 35a19a616aee602a849097411cc0254a27c3f9b7 (patch) | |
tree | 5b1db96f151fae55f7b76e06066fc747daf6b070 /examples/only_hd.py | |
parent | 04e3880d8f41a87889690609e20ab1220700c163 (diff) |
-rw-r--r-- | examples/only_hd.py | 10 |
diff --git a/examples/only_hd.py b/examples/only_hd.py index 5d081b14..76a616db 100644 --- a/examples/only_hd.py +++ b/examples/only_hd.py @@ -4,6 +4,8 @@ import os import pathlib import archinstall +from archinstall import ConfigurationOutput + class OnlyHDMenu(archinstall.GlobalMenu): def _setup_selection_menu_options(self): @@ -23,7 +25,7 @@ class OnlyHDMenu(archinstall.GlobalMenu): self.enable(entry) else: self.option(entry).set_enabled(False) - self._update_install() + self._update_install_text() def _missing_configs(self): """ overloaded method """ @@ -122,7 +124,11 @@ if not archinstall.check_mirror_reachable(): 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) |