Description of problem: virt-install [...] \ --boot loader=/usr/share/AAVMF/AAVMF_CODE.fd,loader_ro=yes,loader_type=pflash,nvram_template=/usr/share/AAVMF/AAVMF_VARS.fd \ [...] ... ERROR Failed to create file '/var/lib/libvirt/qemu/nvram/tmp-b2a0182a_VARS.fd': Permission denied It should use a different directory for non-root users. Version-Release number of selected component (if applicable): virt-install-1.1.0-4.git310f6527.fc22.noarch How reproducible: 100% Steps to Reproduce: 1. See command above.
Workaround is: vars=$(mktemp) cp /usr/share/OVMF/OVMF_VARS.fd $vars virt-install ... ,nvram=$vars
This is libvirt's fault, virt-install isn't doing anything special here
FWIW this is fixed upstream with libvirt 1.2.15: commit 19425d110b0ca2ea3588dbf880ce48d81edea89c Author: Cole Robinson <crobinso> Date: Thu Apr 23 20:01:05 2015 -0400 qemu: Build nvram directory at driver startup