Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYash Tripathi <tripathiyash97@gmail.com>2021-08-20 03:34:50 +0530
committerGitHub <noreply@github.com>2021-08-20 03:34:50 +0530
commit6d462ac1ccfe3ec74f70e000465d422c31d9e634 (patch)
tree7e3e8e93546678718c255cd21e698696a8c0fab4
parenta67a2693dbda2f8c4e75a39f73bd6c9e38257b4d (diff)
added servers key
-rw-r--r--examples/guided.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 6cb80190..7a9f8b47 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -8,6 +8,7 @@ from archinstall.lib.general import run_custom_user_commands
from archinstall.lib.hardware import *
from archinstall.lib.networking import check_mirror_reachable
from archinstall.lib.profiles import Profile, is_desktop_profile
+from archinstall.lib.profiles.server import available_servers
if archinstall.arguments.get('help'):
print("See `man archinstall` for help.")
@@ -50,7 +51,9 @@ def load_config():
archinstall.arguments['sys-encoding'] = archinstall.arguments.get('sys-encoding', 'utf-8')
if archinstall.arguments.get('gfx_driver', None) is not None:
archinstall.storage['gfx_driver_packages'] = AVAILABLE_GFX_DRIVERS.get(archinstall.arguments.get('gfx_driver', None), None)
-
+ if archinstall.arguments.get('servers', None) is not None:
+ archinstall.storage['_selected_servers'] = archinstall.arguments.get('servers', None)
+
def ask_user_questions():
"""
First, we'll ask the user for a bunch of user input.