Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/unattended.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/unattended.py')
-rw-r--r--examples/unattended.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/unattended.py b/examples/unattended.py
new file mode 100644
index 00000000..7dfa58c1
--- /dev/null
+++ b/examples/unattended.py
@@ -0,0 +1,6 @@
+import archinstall
+
+for profile in archinstall.list_profiles():
+ # Tailored means it's a match for this machine.
+ if profile['tailored']:
+ print('Selecting profile to be installed:', profile) \ No newline at end of file