There was an error while loading. Please reload this page.
screen
1 parent a35b4dd commit 393fec4Copy full SHA for 393fec4
1 file changed
lib/vm.py
@@ -784,6 +784,9 @@ def is_in_uefi_shell(self) -> bool:
784
tmp_file = res_host.ssh('mktemp')
785
session = f"detached-cat-{self.uuid}"
786
ret = False
787
+ # The screen package installation is broken on el10, see https://bugzilla.redhat.com/show_bug.cgi?id=2385964
788
+ if res_host.xcp_version.major == 9 and not res_host.ssh('ls -ld /run/screen').startswith('drwxrwxrwx'):
789
+ res_host.ssh('dnf reinstall -y screen')
790
try:
791
res_host.ssh(f'screen -dmS {session}')
792
# run `cat` on the pty in a background screen session and redirect to a tmp file.
0 commit comments