Difference between revisions of "Virt-sysprep"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 19: | Line 19: | ||
* <code>[[virt-builder]]</code> | * <code>[[virt-builder]]</code> | ||
* <code>[[virt-install]]</code> | * <code>[[virt-install]]</code> | ||
+ | |||
+ | == Help == | ||
+ | |||
+ | virt-sysprep | ||
+ | virt-sysprep: error: you must give either -a or -d options. Read | ||
+ | virt-sysprep(1) man page for further information. | ||
+ | |||
+ | If reporting bugs, run virt-sysprep with debugging enabled and include the | ||
+ | complete output: | ||
+ | |||
+ | virt-sysprep -v -x [...] | ||
== Activities == | == Activities == |
Revision as of 07:29, 4 April 2021
virt-sysprep
[1] command included in libguestfs-tools
package reset, unconfigure or customize a virtual machine so clones can be made.
WARNING: Using virt-sysprep
on live virtual machines, or concurrently with other disk editing tools, can be dangerous, potentially causing disk corruption. Virtual Machine must be shut down.
Command examples
- List operations:
- Performs a read-only "dry run" sysprep operation:
virt-sysprep --dry-run TEST_VM_TO_RESET
- To reset everything:
virt-sysprep -d TEST_VM_TO_RESET
- To Change name and force to keep user account MY_USERNAME_TO_KEEP
virt-sysprep -d testvm --hostname testvm --enable user-account --keep-user-accounts MY_USERNAME_TO_KEEP
virt-sysprep -d bionic
[2]
Related commands
Help
virt-sysprep virt-sysprep: error: you must give either -a or -d options. Read virt-sysprep(1) man page for further information. If reporting bugs, run virt-sysprep with debugging enabled and include the complete output: virt-sysprep -v -x [...]
Activities
See also
libguestfs-tools
:virt-sysprep
,virt-clone
,virt-builder
,virt-customize
,virt-resize
,virt-rescue
,virt-sparsify
,guestmount
,guestfish
,virt-inspector
,virt-cat
,virt-log
,virt-df
,virt-ls
,virt-filesystems
,virt-list-filesystems
,virt-edit
virt-builder
virsh
: Storage information, Connecting, Operations, Memory, Snapshots, Networking, CPU, release notes,virsh nodedev-list
- KVM, Installation, QEMU,
virsh
,virtinst
,libguestfs-tools
, libvirt, qemu, Red Hat Virtualization (RHV), MacVTap, Virtio, oVirt, KVM services, KVM networking, KVM graphics, CPU, KVM on ARM
Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.
Source: wikiversity
Advertising: