summaryrefslogtreecommitdiff
path: root/bin/write_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/write_config.py')
-rw-r--r--bin/write_config.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/write_config.py b/bin/write_config.py
index c01eb47..704ea33 100644
--- a/bin/write_config.py
+++ b/bin/write_config.py
@@ -47,6 +47,16 @@ print("Please type in the hostname of your new machine:")
config["hostname"] = input()
+# Desktop or no Desktop
+
+print("Do you want to install a desktop? [Y/n]:")
+answer = input()
+if answer in ["", "Y", "y", "Yes", "yes"]:
+ config["desktop"] = "yes"
+else:
+ config["desktop"] = "no"
+
+
# Write config to json file
config_json = json.dumps(config, indent=4)