Your organization operates a headless Fedora Server that functions as a KVM hypervisor. The CI/CD pipeline must invoke shell commands over SSH to start, stop, and query virtual machines on that host; no graphical desktop environment is installed. Which built-in management interface is the best choice for this requirement?
VMware ESXi Direct Console User Interface (DCUI)
virsh command-line utility provided by libvirt
Hyper-V Manager Microsoft Management Console snap-in
The virsh utility is the native command-line interface for libvirt on a KVM host. It connects to the local or a remote libvirt daemon so that administrators-or automation tools-can issue VM lifecycle commands entirely from a shell script, making it ideal for headless servers managed over SSH. virt-manager needs a local X-based desktop session; Hyper-V Manager runs only on Windows and manages Hyper-V hosts; VMware's Direct Console User Interface appears on an ESXi server's physical console and is intended for local manual use, not scripted automation.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is KVM and how does it function as a hypervisor?
Open an interactive chat with Bash
What is the role of the libvirt daemon when using virsh?
Open an interactive chat with Bash
Why is virsh more suitable for headless servers compared to graphical tools?