There is shell script to create/start VM. Run ./libvirt.sh
.
setfont ter-p22n # increase font size
press F11
to enter fullscreen in virt-viewer
in virt-viewer:
passwd # set password for root user
then, on host:
ssh -o 'UserKnownHostsFile=/dev/null' -o 'StrictHostKeyChecking=no' -p 22222 root@localhost
mkdir /src
mount -t 9p base_path /src
cd /src
Press "e" in systemd-boot menu and add these kernel parameters:
- Reserve more virtual disk space for archiso -
cow_spacesize=2G
- Set videomode to fhd -
video=1920x1080@60m
reflector -c KZ, -p http --completion-percent 99 -f 5 --save /etc/pacman.d/mirrorlist
pacman --noconfirm -Sy archinstall ansible
pacman --noconfirm -S tmux
archinstall --script only_hd
... or using shell script
bash partition.sh
ansible-playbook -i hosts.yml install.yml -e 'part_selector=PARTUUID=<root partition uuid>' --ask-vault-pass
You can get PARTUUID of root partition by running
lsblk -no path,partuuid
set -o vi
wipefs -a <block device path>
parted <root block device path> rm <partition number>
virsh destroy arch-ansible
virsh undefine --nvram arch-ansible
virsh vol-delete --pool default arch-ansible.qcow2