gentoo-install/tests/create-vm-gentoo.sh

20 lines
439 B
Bash
Raw Normal View History

2021-05-27 18:35:28 +00:00
#!/bin/bash
virt-install \
--connect=qemu:///system \
2021-05-31 19:49:08 +00:00
--name=vm-gentoo \
2021-05-27 18:35:28 +00:00
--vcpus=2 \
--memory=2048 \
--cdrom=/vm/images/archlinux-2021.05.01-x86_64.iso \
2021-05-31 19:49:08 +00:00
--disk path=/vm/disks/disk-vm-gentoo.disk,size=25 \
--boot uefi \
2021-05-27 18:35:28 +00:00
--os-variant=gentoo \
--noautoconsole
2021-05-31 19:49:08 +00:00
# --transient \
# --graphics none \
# --console pty,target.type=virtio \
# --serial pty \
# --extra-args 'console=ttyS0,115200n8 --- console=ttyS0,115200n8' \
2021-05-27 18:35:28 +00:00
# virsh