Browse Source

installation configurations

master
junikimm717 2 years ago
parent
commit
3dbd0d01ee
  1. 5
      archinstall/creds.json
  2. 30
      archinstall/disk.json
  3. 18
      archinstall/install.json
  4. 7
      install.sh

5
archinstall/creds.json

@ -0,0 +1,5 @@
{
"!superusers": {
"junikim": { "!password": "password" }
}
}

30
archinstall/disk.json

@ -0,0 +1,30 @@
{
"/dev/vda": {
"partitions": [
{
"boot": true,
"encrypted": false,
"filesystem": {
"format": "fat32"
},
"wipe": true,
"mountpoint": "/boot",
"size": "513MB",
"start": "5MB",
"type": "primary"
},
{
"encrypted": false,
"filesystem": {
"format": "ext4"
},
"wipe": true,
"mountpoint": "/",
"size": "100%",
"start": "518MB",
"type": "primary"
}
],
"wipe": true
}
}

18
install.json → archinstall/install.json

@ -13,13 +13,11 @@
"runuser -l junikim -c /home/junikim/arch_rice/user_arch.sh"
],
"filesystem": "ext4",
"gfx_driver": "All open-source (default)",
"harddrives": ["/dev/vda"],
"hostname": "archlinux1-kvm",
"hostname": "archbox",
"kernels": ["linux"],
@ -28,28 +26,22 @@
"mirror-region": "Worldwide",
"nic": {
"NetworkManager": true
"type": "NM"
},
"ntp": true,
"packages": ["docker", "git", "wget", "neovim"],
"packages": ["docker", "git", "neovim"],
"profile": "minimal",
"services": ["docker"],
"superusers": {
"junikim": {
"!password": "password"
}
},
"swap": false,
"sys-encoding": "utf-8",
"sys-language": "en_US",
"timezone": "US/Eastern",
"users": {}
"timezone": "US/Eastern"
}

7
install.sh

@ -0,0 +1,7 @@
#!/bin/sh
DIR="$(dirname "$(realpath "$0")")"
archinstall --config "$DIR/archinstall/install.json"\
--creds "$DIR/archinstall/creds.json"\
--disk_layouts "$DIR/archinstall/disk.json"
Loading…
Cancel
Save