There was an error while loading. Please reload this page.
1 parent 3bbd187 commit e487535Copy full SHA for e487535
1 file changed
lib/vm.py
@@ -738,6 +738,9 @@ def is_in_uefi_shell(self) -> bool:
738
tmp_file = res_host.ssh('mktemp')
739
session = f"detached-cat-{self.uuid}"
740
ret = False
741
+ # screen install is broken on RHEL, see https://bugzilla.redhat.com/show_bug.cgi?id=2385964
742
+ if res_host.pm == 'dnf' and not res_host.ssh('ls -ld /run/screen').startswith('drwxrwxrwx'):
743
+ res_host.ssh('dnf reinstall -y screen')
744
try:
745
res_host.ssh(f'screen -dmS {session}')
746
# run `cat` on the pty in a background screen session and redirect to a tmp file.
0 commit comments