virt-customize(1)
🎀 NAME 🎀
Manual page: virt-customize(1) — Virtualization Support. Bestie, this is virt-customize, aka the tool whose whole personality is “Customize a virtual machine.” It’s giving disk-image glow-up, and it’s honestly iconic.
✨ SYNOPSIS ✨
virt-customize
[ -a disk.img [ -a disk.img ... ] | -d domname ]
[--attach ISOFILE] [--attach-format FORMAT]
[ -c URI | --connect URI ] [ -n | --dry-run ]
[ --format FORMAT] [ -m MB | --memsize MB ]
[ --network | --no-network ]
[ -q | --quiet ] [--smp N] [ -v | --verbose ] [-x]
[--append-line FILE:LINE] [--chmod PERMISSIONS:FILE]
[--chown UID:GID:PATH] [--commands-from-file FILENAME]
[--copy SOURCE:DEST] [--copy-in LOCALPATH:REMOTEDIR]
[--delete PATH] [--edit FILE:EXPR] [--firstboot SCRIPT]
[--firstboot-command 'CMD+ARGS'] [--firstboot-install PKG,PKG..]
[--hostname HOSTNAME] [--inject-blnsvr METHOD]
[--inject-qemu-ga METHOD] [--inject-virtio-win METHOD]
[--install PKG,PKG..] [--link TARGET:LINK[:LINK..]] [--mkdir DIR]
[--move SOURCE:DEST] [--password USER:SELECTOR]
[--root-password SELECTOR] [--run SCRIPT]
[--run-command 'CMD+ARGS'] [--scrub FILE]
[--ssh-inject USER[:SELECTOR]] [--tar-in TARFILE:REMOTEDIR]
[--timezone TIMEZONE] [--touch FILE] [--truncate FILE]
[--truncate-recursive PATH] [--uninstall PKG,PKG..] [--update]
[--upload FILE:DEST] [--write FILE:CONTENT] [--no-logfile]
[--password-crypto md5|sha256|sha512] [--no-selinux-relabel]
[--selinux-relabel] [--selinux-relabel-at-boot]
[--selinux-relabel-exclude DIR]
virt-customize [ -V | --version ]
💀 WARNING 💀
Using virt-customize on live virtual machines, or concurrently with other disk editing tools, can be dangerous, potentially causing disk corruption. The virtual machine must be shut down before you use this command, and disk images must not be edited concurrently.
Like, genuinely: shut the VM down first. Do not come for me when the disk gets corrupted. 💀
🦋 DESCRIPTION 🦋
virt-customize can customize a virtual machine (disk image) by installing packages, editing configuration files, and so on. It’s the “make it yours” tool, fr fr.
It modifies the guest or disk image in place. The guest must be shut down. If you want to preserve the existing contents of the guest, you must snapshot, copy or clone the disk first. No cap — in place means in place.
You do not need to run virt-customize as root. In fact, the manual generally recommends that you don’t. Slay.
Related tools include: virt-sysprep(1) and virt-builder(1). They’re in the same friend group. 🫶
🌸 OPTIONS 🌸
--help— Display brief help. Short and sweet.-a file,--add file— Addfile, which should be a disk image from a virtual machine. The format of the disk image is auto-detected. To override this and force a particular format, use the--formatoption.-a URI,--add URI— Add a remote disk. The URI format is compatible with guestfish. See"ADDING REMOTE STORAGE"inguestfish(1).--attach ISOFILE— The given disk is attached to the libguestfs appliance. This is used to provide extra software repositories or other data for customization.
You probably want to ensure the volume(s) or filesystems in the attached disks are labelled (or use an ISO volume name) so that you can mount them by label in your run-scripts:
mkdir /tmp/mount
mount LABEL=EXTRA /tmp/mount
You can have multiple --attach options, and the format can be any disk format (not just an ISO). Very flexible. Obsessed.
--attach-format FORMAT— Specify the disk format for the next--attachoption. TheFORMATis usuallyraworqcow2. Userawfor ISOs.--colors,--colours— Use ANSI colour sequences to colourize messages. This is the default when the output is a tty. If the output of the program is redirected to a file, ANSI colour sequences are disabled unless you use this option.-c URI,--connect URI— If using libvirt, connect to the given URI. If omitted, then we connect to the default libvirt hypervisor. If you specify guest block devices directly (-a), then libvirt is not used at all.-d guest,--domain guest— Add all the disks from the named libvirt guest. Domain UUIDs can be used instead of names.-n,--dry-run— Perform a read-only “dry run” on the guest. This runs the sysprep operation, but throws away any changes to the disk at the end.--echo-keys— When prompting for keys and passphrases,virt-customizenormally turns echoing off so you cannot see what you are typing. If you are not worried about Tempest attacks and there is no one else in the room, you can specify this flag to see what you are typing. 🙈--format raw|qcow2|..,--format auto— The default for the-aoption is to auto-detect the format of the disk image. Using this forces the disk format for-aoptions which follow on the command line. Using--format autoswitches back to auto-detection for subsequent-aoptions.
For example:
virt-customize --format raw -a disk.img
forces raw format (no auto-detection) for disk.img.
virt-customize --format raw -a disk.img --format auto -a another.img
forces raw format (no auto-detection) for disk.img and reverts to auto-detection for another.img.
If you have untrusted raw-format guest disk images, you should use this option to specify the disk format. This avoids a possible security problem with malicious guests (CVE-2010-3851). Security girlies, this one’s for you.
--key SELECTOR— Specify a key for LUKS, to automatically open a LUKS device when using the inspection. The variants are:--key NAME:key:KEY_STRING,--key UUID:key:KEY_STRING,--key all:key:KEY_STRING—NAMEis the libguestfs device name (eg./dev/sda1).UUIDis the device UUID.allmeans try the key against any encrypted device. Use the specifiedKEY_STRINGas passphrase.--key NAME:file:FILENAME,--key UUID:file:FILENAME,--key all:file:FILENAME— Read the passphrase fromFILENAME.--key NAME:clevis,--key UUID:clevis,--key all:clevis— Attempt passphrase-less unlocking for the device with Clevis, over the network. Please refer to"ENCRYPTED DISKS"inguestfs(3)for more information on network-bound disk encryption (NBDE). Note that if any such option is present on the command line, QEMU user networking will be automatically enabled for the libguestfs appliance.--key NAME:error,--key UUID:error,--key all:error— Any encrypted device matching will cause an error.--key all:errorcan be used to reject any disk image that contains an encrypted partition.
--keys-from-stdin— Read key or passphrase parameters from stdin. The default is to try to read passphrases from the user by opening/dev/tty. If there are multiple encrypted devices then you may need to supply multiple keys on stdin, one per line.-m MB,--memsize MB— Change the amount of memory allocated to--runscripts. Increase this if you find that--runscripts or the--installoption are running out of memory. The default can be found with this command:
guestfish get-memsize
--network,--no-network— Enable or disable network access from the guest during the installation. Enabled is the default. Use--no-networkto disable access.
The network only allows outgoing connections and has other minor limitations. See "NETWORK" in virt-rescue(1).
If you use --no-network then certain other options such as --install will not work.
This does not affect whether the guest can access the network once it has been booted, because that is controlled by your hypervisor or cloud environment and has nothing to do with virt-customize.
Generally speaking you should not use --no-network. But here are some reasons why you might want to:
- Because the libguestfs backend that you are using doesn't support the network. (See:
"BACKEND"inguestfs(3)). - Any software you need to install comes from an attached ISO, so you don't need the network.
- You don’t want untrusted guest code trying to access your host network when running
virt-customize. This is particularly an issue when you don't trust the source of the operating system templates. (See"SECURITY"below). - You don’t have a host network (eg. in secure/restricted environments).
-q,--quiet— Don’t print log messages. To enable detailed logging of individual file operations, use-x.--smp N— Enable N ≥ 2 virtual CPUs for--runscripts to use.-v,--verbose— Enable verbose messages for debugging.-V,--version— Display version number and exit.--wrap— Wrap error, warning, and informative messages. This is the default when the output is a tty. If the output of the program is redirected to a file, wrapping is disabled unless you use this option.-x— Enable tracing of libguestfs API calls.
🎀 Customization options 🎀
--append-line FILE:LINE— Append a single line of text to theFILE. If the file does not already end with a newline, then one is added before the appended line. Also a newline is added to the end of theLINEstring automatically.
For example (assuming ordinary shell quoting) this command:
--append-line '/etc/hosts:10.0.0.1 foo'
will add either 10.0.0.1 foo⏎ or ⏎10.0.0.1 foo⏎ to the file, the latter only if the existing file does not already end with a newline.
⏎ represents a newline character, which is guessed by looking at the existing content of the file, so this command does the right thing for files using Unix or Windows line endings. It also works for empty or non-existent files.
To insert several lines, use the same option several times:
--append-line '/etc/hosts:10.0.0.1 foo'
--append-line '/etc/hosts:10.0.0.2 bar'
To insert a blank line before the appended line, do:
--append-line '/etc/hosts:'
--append-line '/etc/hosts:10.0.0.1 foo'
--chmod PERMISSIONS:FILE— Change the permissions ofFILEtoPERMISSIONS.
Note: PERMISSIONS by default would be decimal, unless you prefix it with 0 to get octal, ie. use 0700 not 700. Tiny detail, huge difference. 💅
--chown UID:GID:PATH— Change the owner user and group ID of a file or directory in the guest. Note:- Only numeric UIDs and GIDs will work, and these may not be the same inside the guest as on the host.
- This will not work with Windows guests.
For example:
virt-customize --chown '0:0:/var/log/audit.log'
See also: --upload.
--commands-from-file FILENAME— bestie, this is the “read my whole to-do list from a file” option 💅. It reads customize commands from a file, one command plus its arguments per line.
Each line has exactly one customization command and its arguments, like this:
delete /some/file
install some-package
password some-user:password:its-new-password
Empty lines are ignored, and lines starting with # are comments and ignored too. Arguments can even spill across multiple lines if you put a \ (continuation character) at the end of a line, like:
edit /some/file:\
s/^OPT=.*/OPT=ok/
Commands are handled in the same order they appear in the file, as if they were specified as --delete /some/file on the command line. ✨
--copy SOURCE:DEST— copies files or directories recursively inside the guest. Wildcards cannot be used, so no sneaky*action here 🫶.--copy-in LOCALPATH:REMOTEDIR— copies local files or directories recursively into the disk image and places them in the directoryREMOTEDIR(which must exist, no cap). Wildcards cannot be used.--delete PATH— deletes a file from the guest, or deletes a directory and all its contents recursively. You can use shell glob characters in the path, but be careful to escape glob characters from the host shell if that’s required. For example:
virt-customize --delete '/var/log/*.log'.
See also: --upload, --scrub. 🧹
--edit FILE:EXPR— editsFILEusing the Perl expressionEXPR. Be careful to properly quote the expression so the shell doesn’t alter it 😭.
Note that this option is only available when Perl 5 is installed.
See “NON-INTERACTIVE EDITING” in virt-edit(1).
--firstboot SCRIPT— installsSCRIPTinside the guest so that when the guest first boots up, the script runs as root, late in the boot process. The script is automaticallychmod +xafter installation in the guest.
The alternative version --firstboot-command is the same, but it conveniently wraps the command up in a single-line script for you.
You can have multiple --firstboot options. They run in the same order that they appear on the command line.
See also: “FIRSTBOOT”, --run.
--firstboot-command 'CMD+ARGS'— runs the command and arguments inside the guest when the guest first boots up, as root, late in the boot process.
You can have multiple --firstboot options. They run in the same order that they appear on the command line.
See also: “FIRSTBOOT”, --run. 🎀
--firstboot-install PKG,PKG..— installs the named packages (a comma-separated list). These are installed when the guest first boots using the guest’s package manager (eg.apt,yum, etc.) and the guest’s network connection.
For an overview on the different ways to install packages, see “INSTALLING PACKAGES” in virt-builder(1).
--hostname HOSTNAME— sets the hostname of the guest toHOSTNAME. You can use a dottedhostname.domainname(FQDN) if you want. Iconic little identity moment 💖.--inject-blnsvr METHOD— injects the Balloon Server (blnsvr.exe) into a Windows guest. This operation also injects a firstboot script so that the Balloon Server is installed when the guest boots.
The parameter is the same as used by the --inject-virtio-win operation.
Note that to do a full conversion of a Windows guest from a foreign hypervisor like VMware (which involves many other operations) you should use the virt-v2v(1) tool instead of this.
--inject-qemu-ga METHOD— injects the QEMU Guest Agent into a Windows guest. The guest agent communicates with qemu through a socket in order to provide enhanced features (see qemu-ga(8)). This operation also injects a firstboot script so that the Guest Agent is installed when the guest boots.
The parameter is the same as used by the --inject-virtio-win operation.
Note that to do a full conversion of a Windows guest from a foreign hypervisor like VMware (which involves many other operations) you should use the virt-v2v(1) tool instead of this. 🦋
--inject-virtio-win METHOD— injects virtio-win drivers into a Windows guest. These drivers add virtio accelerated drivers suitable when running on top of a hypervisor that supports virtio (such as qemu/KVM). The operation also adjusts the Windows Registry so that the drivers are installed when the guest boots.
The parameter can be one of:
ISO— the path to the ISO image containing the virtio-win drivers (eg./usr/share/virtio-win/virtio-win.iso).DIR— the directory containing the unpacked virtio-win drivers (eg./usr/share/virtio-win).
Note that to do a full conversion of a Windows guest from a foreign hypervisor like VMware (which involves many other operations) you should use the virt-v2v(1) tool instead of this.
--install PKG,PKG..— installs the named packages (a comma-separated list). These are installed during the image build using the guest’s package manager (eg.apt,yum, etc.) and the host’s network connection.
For an overview on the different ways to install packages, see “INSTALLING PACKAGES” in virt-builder(1).
See also --update, --uninstall. 📦
--link TARGET:LINK[:LINK..]— creates symbolic link(s) in the guest, starting atLINKand pointing atTARGET. Symlink slay ✨.--mkdir DIR— creates a directory in the guest.
This uses mkdir -p so any intermediate directories are created, and it also works if the directory already exists. No drama 💅.
--move SOURCE:DEST— moves files or directories inside the guest. Wildcards cannot be used.--no-logfile— scrubsbuilder.log(log file from build commands) from the image after building is complete. If you don’t want to reveal precisely how the image was built, use this option.
See also: “LOG FILE”.
--no-selinux-relabel— do not attempt to correct the SELinux labels of files in the guest.
In such guests that support SELinux, customization automatically relabels files so that they have the correct SELinux label. The relabeling is performed immediately, but if the operation fails, customization will instead touch /.autorelabel on the image to schedule a relabel operation for the next time the image boots. This option disables the automatic relabeling.
The option is a no-op for guests that do not support SELinux. 🫶
--password USER:SELECTOR— sets the password forUSER. Note this option does not create the user account.
See “USERS AND PASSWORDS” in virt-builder(1) for the format of the SELECTOR field, and also how to set up user accounts.
--password-crypto md5|sha256|sha512— when the virt tools change or set a password in the guest, this option sets the password encryption of that password tomd5,sha256orsha512.
sha256 and sha512 require glibc ≥ 2.7 (check crypt(3) inside the guest).
md5 will work with relatively old Linux guests (eg. RHEL 3), but is not secure against modern attacks. ⚠️
The default is sha512 unless libguestfs detects an old guest that didn’t have support for SHA-512, in which case it will use md5. You can override libguestfs by specifying this option.
Note this does not change the default password encryption used by the guest when you create new user accounts inside the guest. If you want to do that, then you should use the --edit option to modify /etc/sysconfig/authconfig (Fedora, RHEL) or /etc/pam.d/common-password (Debian, Ubuntu).
--root-password SELECTOR— sets the root password.
See “USERS AND PASSWORDS” in virt-builder(1) for the format of the SELECTOR field, and also how to set up user accounts.
Note: In virt-builder, if you don’t set --root-password then the guest is given a random root password. 🔐
--run SCRIPT— runs the shell script (or any program) calledSCRIPTon the disk image. The script runs virtualized inside a small appliance, chrooted into the guest filesystem.
The script is automatically chmod +x.
If libguestfs supports it then a limited network connection is available, but it only allows outgoing network connections. You can also attach data disks (eg. ISO files) as another way to provide data (eg. software packages) to the script without needing a network connection (--attach). You can also upload data files (--upload).
You can have multiple --run options. They run in the same order that they appear on the command line.
See also: --firstboot, --attach, --upload. 🏃♀️
--run-command 'CMD+ARGS'— runs the command and arguments on the disk image. The command runs virtualized inside a small appliance, chrooted into the guest filesystem.
If libguestfs supports it then a limited network connection is available, but it only allows outgoing network connections. You can also attach data disks (eg. ISO files) as another way to provide data (eg. software packages) to the script without needing a network connection (--attach). You can also upload data files (--upload).
You can have multiple --run-command options. They run in the same order that they appear on the command line.
See also: --firstboot, --attach, --upload.
--scrub FILE— scrubs a file from the guest. This is like--deleteexcept that:- It scrubs the data so a guest could not recover it. 💀
- It cannot delete directories, only regular files.
--selinux-relabel— this is a compatibility option that does nothing. Literally just vibing in the options list 🧚.--selinux-relabel-at-boot— this advanced option lets you defer SELinux relabelling until the first time the guest boots after conversion.
The advantage of doing this is that conversion is quicker and uses less memory.
The disadvantages are:
- The guest will take much longer to boot up and become ready the first time it boots.
- The guest will reboot at least once.
- SELinux relabelling problems cannot be detected during conversion.
If in doubt, do not use this option. 🚨
--selinux-relabel-exclude DIR— exclude directories from being relabelled.
This advanced option lets you list directories in the guest that should not get relabelled, even when SELinux relabelling is enabled. Use this carefully, bestie — any changes made inside these directories during customization will have incorrect SELinux labels, and that can lead to potential failures later. So you gotta be sure those directories really don’t need relabelling.
If in doubt, do not use this option.
You can pass the option multiple times, eg. --selinux-relabel-exclude=/foo --selinux-relabel-exclude=/bar
--ssh-inject USER[:SELECTOR]— inject an SSH key soUSERcan log in over ssh without supplying a password.USERmust already exist in the guest. For the format of theSELECTORfield, see “SSH KEYS” invirt-builder(1). You can have multiple--ssh-injectoptions, for different users and also for more keys for each user.--tar-in TARFILE:REMOTEDIR— copy local files or directories from a local tar file calledTARFILEinto the disk image, placing them in the directoryREMOTEDIR(which must exist). Heads up: the tar file must be uncompressed (.tar.gzfiles will not work here).--timezone TIMEZONE— set the default timezone of the guest toTIMEZONE. Use a location string likeEurope/London.--touch FILE— this command performs atouch(1)-like operation onFILE.--truncate FILE— this command truncatesFILEto a zero-length file. The file must exist already.--truncate-recursive PATH— this command recursively truncates all files underPATHto zero-length.--uninstall PKG,PKG..— uninstall the named packages (a comma-separated list). These are removed during the image build using the guest’s package manager (eg. apt, yum, etc.). Dependent packages may also need to be uninstalled to satisfy the request. See also--install,--update.--update— do the equivalent ofyum update,apt-get upgrade, or whatever command is required to update the packages already installed in the template to their latest versions. See also--install,--uninstall.--upload FILE:DEST— upload local fileFILEto destinationDESTin the disk image. File owner and permissions from the original are preserved, so you should set them to what you want them to be in the disk image.DESTcould be the final filename — this can be used to rename the file on upload. IfDESTis a directory name (which must already exist in the guest) then the file is uploaded into that directory, and it keeps the same name as on the local filesystem. See also:--mkdir,--delete,--scrub.--write FILE:CONTENT— writeCONTENTtoFILE.
🔥 FIRSTBOOT 🔥
The --firstboot and --firstboot-command options allow you to execute commands at the first boot of the guest. To do so, an init script for the guest init system is installed, which takes care of running all the added scripts and commands.
📝 Log file 📝
On Linux, output from the scripts is written to ~root/virt-sysprep-firstboot.log inside the guest.
On Windows, output is written to C:\Program Files\Guestfs\Firstboot\log.txt inside the guest.
💀 Windows firstboot batch file exit codes 💀
On Windows guests (only) the exit code of batch files controls the execution flow and whether Windows will reboot between each script:
249— the batch file is treated as a failure. The batch file will be run again on next reboot. (Be careful that batch files do not continuously give this exit code, otherwise Windows will boot loop.)250— the script indicates that a system reboot is not required at this stage. The next script in the sequence will run without initiating a reboot.- Any other code — this script is considered successful. Windows will reboot and run the next script.
🎀 Windows sentinel file 🎀
On Windows guests (only) a sentinel file is written into the guest once all firstboot scripts have finished running. You can use this to detect if the Windows guest is ready (eg. has finished a virt-v2v(1) conversion). The default location for this file is:
C:\Program Files\Guestfs\Firstboot\complete
🧰 Auxiliary tools 🧰
On Windows guests, rhsrvany.exe, available from sources at https://github.com/rwmjones/rhsrvany, or pvvxsvc.exe, available with SUSE VMDP, is installed to run the first boot scripts. One of these is required, and the setup of first boot scripts will fail if not present.
rhsrvany.exe or pvvxsvc.exe is copied from the location pointed to by the VIRT_TOOLS_DATA_DIR environment variable; if not set, a compiled-in default will be used (something like /usr/share/virt-tools).
🥊 --firstboot vs --script 🥊
The two options --firstboot and --script both supply shell scripts that are run against the guest. However these two options are significantly different.
--firstboot script uploads the file script into the guest and arranges that it will run, in the guest, when the guest is next booted.
--script runs the shell script on the host, with its current directory inside the guest filesystem.
If you needed, for example, to yum install new packages, then you must not use --script for this, since that would (a) run the yum command on the host and (b) wouldn’t have access to the same resources (repositories, keys, etc.) as the guest. Any command that needs to run on the guest must be run via --firstboot.
On the other hand if you need to make adjustments to the guest filesystem (eg. copying in files), then --script is ideal since (a) it has access to the host filesystem and (b) you will get immediate feedback on errors.
Either or both options can be used multiple times on the command line.
🛡️ SELINUX 🛡️
For guests which make use of SELinux, special handling for them might be needed when using operations which create new files or alter existing ones.
For further details, see “SELINUX” in virt-builder(1).
🪦 DEPRECATED OPTIONS 🪦
In version 1.56 the subscription-manager options were removed: --sm-credentials, --sm-register, --sm-unregister, --sm-attach, --sm-remove
For further details, see “DEPRECATED OPTIONS” in virt-builder(1).
🚪 EXIT STATUS 🚪
This program returns 0 on success, or 1 if there was an error.
🌈 ENVIRONMENT VARIABLES 🌈
VIRT_TOOLS_DATA_DIR— this can point to the directory containing data files used for Windows firstboot installation. Normally you do not need to set this. If not set, a compiled-in default will be used (something like/usr/share/virt-tools). This directory may contain the following files:rhsrvany.exe— this is the RHSrvAny Windows binary, used to install a"firstboot"script in Windows guests. It is required if you intend to use the--firstbootor--firstboot-commandoptions with Windows guests. See also:https://github.com/rwmjones/rhsrvanypvvxsvc.exe— this is a Windows binary shipped with SUSE VMDP, used to install a"firstboot"script in Windows guests. It is required if you intend to use the--firstbootor--firstboot-commandoptions with Windows guests.
For other environment variables, see “ENVIRONMENT VARIABLES” in guestfs(3).
👀 SEE ALSO 👀
guestfs(3), guestfish(1), virt-builder(1), virt-clone(1), virt-rescue(1), virt-resize(1), virt-sparsify(1), virt-sysprep(1), virsh(1), lvcreate(8), qemu-img(1), scrub(1), http://libguestfs.org/, http://libvirt.org/.
✍️ AUTHORS ✍️
Richard W.M. Jones http://people.redhat.com/~rjones/
©️ COPYRIGHT ©️
Copyright (C) 2011-2025 Red Hat Inc.
📜 LICENSE 📜
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
🐛 BUGS 🐛
To get a list of bugs against libguestfs, use this link:
https://bugzilla.redhat.com/buglist.cgi?component=libguestfs&product=Virtualization+Tools
To report a new bug against libguestfs, use this link:
https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools
When reporting a bug, please supply:
- The version of libguestfs.
- Where you got libguestfs (eg. which Linux distro, compiled from source, etc)
- Describe the bug accurately and give a way to reproduce it.
- Run
libguestfs-test-tool(1)and paste the complete, unedited output into the bug report.
💖 that’s the whole page, bestie — brought to you by guestfs-tools version 1.57.3, dated 2026-09-16, and it’s virt-customize(1) forever. 🫶
📦 where this page comes from
- centos-stream 10: guestfs-tools 1.57.3-1.el10 · GPL-2.0-or-later AND LGPL-2.0-or-later
- 💖 girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms