Skip to content

napanee/ansible-arch-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-arch-installer

An ansible playbook to help install Arch Linux.

Setup

  1. Pull this repo
  2. Create inventory/hosts-File with the HOST-IP
[arch]
vm ansible_host=[IP]
  1. Edit values in inventory/group_vars/arch.yml
  2. Create host vars: ansible-vault create inventory/host_vars/vm.yml with
luks_pass: ""
user_pass: ""

Usage

After booting from the Arch installation media, you will need to set the root password to root using the passwd command.

Then connect to wlan:

  1. iwctl
  2. device list
  3. station wlan0 scan
  4. station wlan0 get-networks
  5. station wlan0 connect <SSID>

Now you are able to login remotely as root, so you can populate hosts.yml and run playbook.yml:

ansible-playbook playbook.yml --ask-vault-password -t bootstrap

After boot into installed system, connect to wifi:

  1. nmcli dev status
  2. nmcli dev wifi list
  3. sudo nmcli dev wifi connect <SSID> --ask

and run:

ansible-playbook playbook.yml --ask-vault-password -t mainsetup

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages