VM-TUI(1) General Commands Manual VM-TUI(1) NAME vm-tui -- terminal UI and CLI for vm-bhyve guests, switches and images SYNOPSIS vm-tui [-refresh seconds] [-section name] [guest] vm-tui -list [-json] vm-tui -info guest [-json] vm-tui -switches [-json] vm-tui -catalogue vm-tui -describe key vm-tui -version DESCRIPTION vm-tui is a front-end for vm(8), the vm-bhyve guest manager. Interactively it shows the guests, the virtual switches with the bridges behind them, the datastores, the ISOs and cloud images, the templates and the /etc/rc.conf settings, one section each; opens a guest as its configuration keys by sub- ject, with each disk, interface and PCI device as a heading carrying what vm info and ifconfig(8) know about it; and carries out every action as a plan of vm, sysrc(8), qemu-img and zfs(8) commands shown, with pre-flight notes, before it runs. vm refuses to run for anyone but root, so the interactive screens need root. The options are: -refresh seconds Reload everything every seconds, so the guest table works as a mon- itor. -section name Open the section: guests, switches, storage, media, templates or settings. guest Open the guest's screen. -list Print the guests with their state, loader, cpu, memory, VNC port, auto-start order, disks and interfaces, and exit. -info guest Print a guest: its disks resolved to paths and sizes, its inter- faces to switches, bridges and taps, its PCI devices to whether they are reserved for ppt(4), its configuration and its snapshots. -switches Print the switches with their type, bridge, whether the bridge is up, its address, physical ports and the guest taps on it. -json With -list, -info and -switches: JSON output. -catalogue Print every configuration key the editor knows, by group, with a one-line note. -describe key Describe one key: its meaning, default and allowed values. Num- bered keys are given as disk0_type or diskN_type. -version Print the version and exit. INTERACTIVE USE The six sections are switched with tab or 1 to 6. Each is a table: / fil- ters it, enter opens the row, m opens the action menu of the row, a two-row control panel where a letter picks its item, r reloads, ? shows the help and h the key list. Guests vm list -v. enter opens the guest, c attaches to its console with cu(1), s and x start and stop it, n runs the create wizard, d destroys it. The menu adds restart, suspend, reset, poweroff, discard, the disks (add, write an image onto one, resize, export as qcow2/vmdk/vhd/vdi/raw), the interfaces, snapshot, rollback, clone, rename, install from an ISO, and the file in EDITOR. Switches vm switch list with the state of each bridge, its physical ports and the guest taps on it. n runs the switch wizard, i imports an existing bridge as a manual switch, T draws the topology. The menu adds ports, vlan, address and private mode on standard switches. Storage The datastores, with add and remove. Media The ISOs and cloud images. n fetches a URL, i imports a local file, enter shows what qemu-img knows about an image, I installs an ISO into a guest, c creates a guest from an image, x decom- presses a file, d deletes one. Templates $vm_dir/.templates/*.conf, edited with the guest editor; n copies one from a template or a vm-bhyve example. Settings vm_enable, vm_dir, vm_list and vm_delay in /etc/rc.conf, and the vm set settings. On the guest screen enter edits the key under the cursor, a adds a key that is not set, D removes a key or, on a disk or interface heading, the whole device (the following ones are renumbered, since vm-bhyve stops at the first gap), d drops a pending edit, u undoes, l shows every key of the cat- alogue rather than the set ones, and A shows the sysrc commands of the pending edits and runs them. IMAGES AND DISKS vm create -i writes an image onto disk0 with qemu-img, which reads raw, qcow2, vmdk, vhd and vdi: a cloud image needs no conversion. A zvol cannot grow while it is written and one smaller than the image gives a truncated guest with no error, so vm-tui reads the image's virtual size first and re- fuses a smaller disk. What backs disk0 (a file or a zvol) comes from the template. An image can also be written onto an existing disk with qemu-img convert -n, which is how a disk from another hypervisor becomes a guest's diskN, and a disk can be exported to any of those formats. Files are re- sized with truncate(1), zvols with zfs set volsize; neither is shrunk. EXIT STATUS 0 on success, 1 on error, 2 when a question was declined. SEE ALSO bhyve(8), ifconfig(8), sysrc(8), vm(8), zfs(8) AUTHORS Olgeni FreeBSD ports 15.quarterly September 10, 2026 VM-TUI(1)
NAME | SYNOPSIS | DESCRIPTION | INTERACTIVE USE | IMAGES AND DISKS | EXIT STATUS | SEE ALSO | AUTHORS
Want to link to this manual page? Use this URL:
<https://man.FreeBSD.org/cgi/man.cgi?query=vm-tui&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>