virt-manager/virtinst/install
Cole Robinson ec434948a8 installer: drop default TPM for --cloud-init install phase
When shim in the guest sees unpopulated EFI NVRAM, like when
we create a new UEFI VM, it invokes fallback.efi to populate
initial NVRAM boot entries. When the guest also has a TPM device,
shim will do a one time VM reset. This reset throws off the
reboot detection that is central to virt-install's install
process.

The main install case that this will usually be relevant is
the combo of UEFI and --cloud-init. The latter usually implies
use of a distro cloud image, which will be using shim, and the
--cloud-init process requires a multi stage install compared
to just a plain import install.

For that case, we disable the default TPM device for the first
boot.

https://bugzilla.redhat.com/show_bug.cgi?id=2133525

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2023-09-12 12:04:49 -04:00
..
__init__.py virtinst: Move multiple installer .py files to virtinst/install/ 2019-06-17 00:12:32 -04:00
cloudinit.py cloudinit: Fix disabling cloud-init on first boot 2022-03-01 14:29:46 -05:00
installer.py installer: drop default TPM for --cloud-init install phase 2023-09-12 12:04:49 -04:00
installerinject.py tests: cpio: set owner to 0:0 2022-12-13 13:45:16 -05:00
installertreemedia.py device: disk: Rename path property to get/set_source_path 2020-11-11 19:06:32 -05:00
unattended.py virtinst: Unify test code paths when run as root 2020-07-18 19:28:04 -04:00
urldetect.py osdict: Simplify os list sorting 2022-02-12 11:53:09 -05:00
urlfetcher.py Fix some pylint, exclude some new warnings 2021-10-04 16:04:33 -04:00
volumeupload.py virtinst: Use consistent format for meter filename strings 2021-05-22 14:56:10 -04:00