Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jsf9k/ansible-arch-install
Ansible code for installing and configuring Arch Linux
https://github.com/jsf9k/ansible-arch-install
ansible arch arch-linux archlinux install linux
Last synced: 3 months ago
JSON representation
Ansible code for installing and configuring Arch Linux
- Host: GitHub
- URL: https://github.com/jsf9k/ansible-arch-install
- Owner: jsf9k
- Created: 2019-08-26T16:37:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-12-14T15:49:56.000Z (about 3 years ago)
- Last Synced: 2024-10-14T07:35:36.500Z (3 months ago)
- Topics: ansible, arch, arch-linux, archlinux, install, linux
- Homepage:
- Size: 64.5 KB
- Stars: 72
- Watchers: 4
- Forks: 29
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ansible-arch-install #
An Ansible playbook to help install Arch Linux.
## Usage ##
After booting from the Arch installation media, you will need to:
1. Set the root password using the `passwd` command.
2. Restart the ssh service using `systemctl restart sshd`.
3. Create a keyfile on your local host containing the password for
your LUKS root volume via `echo -n "your_password" > keyfile`.
4. Generate a hash for the password to be used on your personal
account using `mkpasswd --method=sha-512`.At this point we are able to login remotely as root, so we can
populate `inventory.yml` and run `site.yml`:```console
ansible-playbook -i inventory.yml site.yml
```Note that you may have to fiddle with the UEFI settings in the BIOS in
order to get the new installation to boot.At this point your new Arch Linux system is ready to be configured.
The project
[jsf9k/ansible-home](https://github.com/jsf9k/ansible-home) can be
used for this purpose.