Tweak virtinst

This commit is contained in:
Anthony Rose 2023-12-22 09:32:58 +00:00
parent d3d90faacf
commit 17a7a27858

View file

@ -43,10 +43,13 @@ fi
# To get a list of valid osinfo options, run:
# virt-install --osinfo list
# Sizes are based on RHEL 9 minimum recommendations.
virt-install --connect $_acp_vm_session \
--osinfo linux2022 \
--boot $_acp_vm_boot \
--cpu host-passthrough \
--vcpus 1 \
--ram 1536 \
--disk "$_acp_vm_disk,size=20" \
--graphics vnc \
--console pty,target.type=virtio \