virt-manager/tests
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
..
data installer: drop default TPM for --cloud-init install phase 2023-09-12 12:04:49 -04:00
uitests uitests: Drop hotplug work around, f38 libvirt is fixed now 2023-05-24 12:49:02 -04:00
__init__.py Replace deprecated imp usage with importlib 2021-10-04 16:04:44 -04:00
conftest.py tests: Default --uitests to --verbosity=2 2023-05-06 16:50:20 -04:00
magicuri.py virtinst: uri: Rework MagicURI to work with passed in fakeuri 2020-02-03 07:05:11 -05:00
test_capabilities.py tests: Add domcaps coverage for usb-redir/spicevmc channel checks 2022-12-14 12:44:54 -05:00
test_checkprops.py cli: Fill in all --filesystem suboptions 2020-09-11 09:00:33 -04:00
test_cli.py tests: Add more cloud-init and TPM test cases 2023-09-12 12:03:40 -04:00
test_cloner.py tests: data: Move all cli/ bits to their own directories 2020-09-08 17:48:40 -04:00
test_conn.py tests: Drop most unittest usage from virtinst tests 2020-09-19 13:46:46 -04:00
test_disk.py Fix pylint/pycodestyle warnings with latest versions 2022-12-13 11:23:45 -05:00
test_dist.py tests: test_dist: filter out harmless xgettext warning 2020-09-14 09:57:23 -04:00
test_inject.py tests: test_inject: Drop --debug usage 2022-08-04 15:06:17 -04:00
test_misc.py virtinstall: Hide total_size in the progress bar if it doesn't need 2022-12-14 13:18:36 -05:00
test_nodedev.py tests: fix pycodestyle violation with missing blank line 2021-11-24 22:42:32 +00:00
test_osdict.py virtinst/osdict: remove osinfo legacy aliases 2022-01-17 14:51:36 -05:00
test_storage.py tests: testdriver: Have all pools use pool- prefix 2022-02-27 13:44:13 -05:00
test_uriparse.py tests: Drop most unittest usage from virtinst tests 2020-09-19 13:46:46 -04:00
test_urldetect.py tests: add Mageia 5 detection test 2020-08-31 13:20:41 -04:00
test_urls.py Fix some pylint, exclude some new warnings 2021-10-04 16:04:33 -04:00
test_xmlparse.py Fix some pylint 2023-09-12 11:54:04 -04:00
testdriver.xml tests: Move all testdriver XML to the same dir 2020-08-26 15:20:05 -04:00
urlfetcher_mock.py tests: data: Move all cli/ bits to their own directories 2020-09-08 17:48:40 -04:00
utils.py tests: More trailing newline fixes 2022-08-03 12:34:47 -04:00