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-08 08:39:37 +0200
committerAnton Hvornum <anton@hvornum.se>2021-04-08 08:39:37 +0200
commitf8bf2b313ab8c06571d44c571143c28864599223 (patch)
tree71a2698fa9cf89692cbdc070c07e05651765f44c /examples
parent3ba03f9e7333fe3e2c23a70cb4156e5c09836bfd (diff)
parent0868156a73b1f3bf2b92f4a54f244205dfce49fc (diff)
Merging in master into feature branch.
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py3
-rw-r--r--examples/minimal.py6
2 files changed, 5 insertions, 4 deletions
diff --git a/examples/guided.py b/examples/guided.py
index fa74fbba..66cc2405 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -195,7 +195,8 @@ def ask_user_questions():
# Additional packages (with some light weight error handling for invalid package names)
if not archinstall.arguments.get('packages', None):
- print("Packages not part of the desktop environment are not installed by default. If you desire a web browser, such as firefox or chromium, you may specify it in the following prompt.")
+ print("Packages not part of the desktop environment are not installed by default.")
+ print("If you desire a web browser, such as firefox or chromium, you may specify it in the following prompt.")
archinstall.arguments['packages'] = [package for package in input('Write additional packages to install (space separated, leave blank to skip): ').split(' ') if len(package)]
# Verify packages that were given
diff --git a/examples/minimal.py b/examples/minimal.py
index b5bb34e0..6016bbbf 100644
--- a/examples/minimal.py
+++ b/examples/minimal.py
@@ -24,7 +24,7 @@ with archinstall.Filesystem(harddrive) as fs:
installation.add_bootloader()
installation.add_additional_packages(['nano', 'wget', 'git'])
- installation.install_profile('awesome')
+ installation.install_profile('minimal')
- installation.user_create('anton', 'test')
- installation.user_set_pw('root', 'toor') \ No newline at end of file
+ installation.user_create('devel', 'devel')
+ installation.user_set_pw('root', 'toor')