Skip to content

Commit

Permalink
remove the Xorg*
Browse files Browse the repository at this point in the history
  • Loading branch information
Junefen committed Aug 5, 2024
1 parent 96aa7e6 commit 32d619b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions virtwho/provision/virtwho_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,7 @@ def libvirt_pkg_install(ssh):
Install libvirt related packages.
:param ssh: ssh access of virt-who host.
"""
package = "nmap iproute rpcbind libvirt* gnome* virt-manager "
if "RHEL-10" not in args.distro:
package += " Xorg*"
package = "nmap iproute rpcbind libvirt* gnome* virt-manager"
ssh.runcmd(f"yum clean all; yum install -y {package}")
ret, _ = ssh.runcmd("systemctl restart libvirtd;systemctl enable libvirtd")
if ret == 0:
Expand Down

0 comments on commit 32d619b

Please sign in to comment.