Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2021-11-26 14:24:47 +0000
committerAnton Hvornum <anton.feeds@gmail.com>2021-11-26 14:24:47 +0000
commit87e75a7d09b358ef929ca62d1a741acaaa8ad504 (patch)
tree4f4c74af8f505eb12fc6642d442ac9bb28f52134
parente285d84651eb81157e35f776c3351b0873d29020 (diff)
Updated examples, fix #772
-rw-r--r--examples/config-sample.json32
-rw-r--r--examples/creds-sample.json9
-rw-r--r--examples/disk_layouts-sample.json38
3 files changed, 60 insertions, 19 deletions
diff --git a/examples/config-sample.json b/examples/config-sample.json
index 55bdf04b..18644860 100644
--- a/examples/config-sample.json
+++ b/examples/config-sample.json
@@ -1,35 +1,29 @@
{
- "!root-password": "<root_password>",
"audio": null,
"bootloader": "systemd-bootctl",
- "filesystem": "btrfs",
- "harddrive": {
- "path": "/dev/sda"
- },
- "hostname": "box",
+ "harddrives": [
+ "/dev/loop0"
+ ],
+ "hostname": "",
"kernels": [
"linux"
],
- "keyboard-language": "us",
+ "keyboard-layout": "us",
"mirror-region": {
"Worldwide": {
"https://mirror.rackspace.com/archlinux/$repo/os/$arch": true
}
},
"nic": {
- "NetworkManager": true
+ "NetworkManager": true,
+ "nic": "Use NetworkManager (necessary to configure internet graphically in GNOME and KDE)"
},
+ "ntp": true,
"packages": [],
"profile": null,
- "superusers": {
- "<username>": {
- "!password": "<password>"
- }
- },
- "timezone": "UTC",
- "users": {
- "<username>": {
- "!password": "<password>"
- }
- }
+ "script": "guided",
+ "swap": true,
+ "sys-encoding": "utf-8",
+ "sys-language": "en_US",
+ "timezone": "UTC"
} \ No newline at end of file
diff --git a/examples/creds-sample.json b/examples/creds-sample.json
new file mode 100644
index 00000000..16aeb8cc
--- /dev/null
+++ b/examples/creds-sample.json
@@ -0,0 +1,9 @@
+{
+ "!root-password": "<root password>",
+ "!users": {
+ "username": {"!password": "<user password>"}
+ },
+ "!superusers": {
+ "admin": {"!password": "<admin password>"}
+ }
+} \ No newline at end of file
diff --git a/examples/disk_layouts-sample.json b/examples/disk_layouts-sample.json
new file mode 100644
index 00000000..ca10415c
--- /dev/null
+++ b/examples/disk_layouts-sample.json
@@ -0,0 +1,38 @@
+{
+ "/dev/loop0": {
+ "partitions": [
+ {
+ "boot": true,
+ "encrypted": false,
+ "filesystem": {
+ "format": "fat32"
+ },
+ "format": true,
+ "mountpoint": "/boot",
+ "size": "513MB",
+ "start": "5MB",
+ "type": "primary"
+ },
+ {
+ "btrfs": {
+ "subvolumes": {
+ "@.snapshots": "/.snapshots",
+ "@home": "/home",
+ "@log": "/var/log",
+ "@pkgs": "/var/cache/pacman/pkg"
+ }
+ },
+ "encrypted": true,
+ "filesystem": {
+ "format": "btrfs"
+ },
+ "format": true,
+ "mountpoint": "/",
+ "size": "100%",
+ "start": "518MB",
+ "type": "primary"
+ }
+ ],
+ "wipe": true
+ }
+} \ No newline at end of file