-
Notifications
You must be signed in to change notification settings - Fork 3
/
README.tpl
103 lines (81 loc) · 2.73 KB
/
README.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# archlinux-auto-install
**DO NOT EDIT DIRECTLY THIS README.MD (edit the README.tpl)** and execute `make doc-generate`
Automatic installation of Archlinux for vagrants and physical hosts.
This project install minimal Archlinux from scratch, other packages and configuration are done with **ansible**
Image contains :
- Archlinux 2021.04.01
- Encrypted LUKS disk (for vagrant, the password is `vagrant`)
- `grub` and `grub-theme`
- `networkmanager`
- `yay` package (for installaling AUR packages)
- `git` for clonning some project (ex: [ansible-archlinux](https://github.com/badele/ansible-archlinux))
- `ansible` (for customize automatically your installation)
## Vagrant box
<table>
<tr>
<th>Logo</th>
<th>Name</th>
<th>Description</th>
</tr>
<tr>
<td><img width="32" src="https://simpleicons.org/icons/archlinux.svg"></td>
<td><a href="https://archlinux.org/">Archlinux</a></td>
<td>Base Archlinux version</td>
</tr>
<tr>
<td><img width="32" src="https://simpleicons.org/icons/ansible.svg"></td>
<td><a href="https://www.ansible.com/">Ansible</a></td>
<td>Archlinux + Ansible support</td>
</tr>
<tr>
<td><img width="32" src="https://simpleicons.org/icons/nixos.svg"></td>
<td><a href="https://nixos.org/">Nixos</a></td>
<td>Archlinux + Nix support</td>
</tr>
</table>
## Help(commands)
```
${COMMANDS}
```
## Build
```
make archlinux-versions
make NAME=base vagrant-build
make NAME=ansible vagrant-build
make NAME=nix vagrant-build
make NAME=base vagrant-up
make NAME=base vagrant-ssh
make NAME=base vagrant-destroy
```
## Host
From booted archlinux live cd ([use ventoy](https://github.com/ventoy/Ventoy))
```
# configure wireless
iwctl device list
iwctl station <device> scan
iwctl station <device> get-networks
iwctl station <device> connect <SSID>
# Clone
rm -f /var/lib/pacman/sync/*.db
pacman -Sy git
git clone https://github.com/badele/archlinux-auto-install.git
cd archlinux-auto-install
# Set installation configuration
cp config/xxx > install/config
vim install/config
./install/install.sh
```
## Usage
```
# From vagrant cloud
vagrant init badele/ansiblearch && vagrant up
```
## Use case
Install 99% of Achlinux automatically, it installs it in less than two minutes.
After installed the minimal arch, you can customized with `ansible` and `dotfiles`
- [ansible-archlinux](https://github.com/badele/ansible-archlinux)
- [dotfiles](https://github.com/badele/dotfiles)
## Thanks
Thanks to zenithar for his documentation https://blog.zenithar.org/post/2020/04/01/archlinux-efi-ssd-luks2-lvm2-btrfs/
**Information for vagrant cloud project page**
- [github archlinux-auto-install project](https://github.com/badele/archlinux-auto-install)