Virt-customize
Jump to navigation
Jump to search
↑ https://rwmj.wordpress.com/2014/03/25/new-tool-virt-customize/
↑ https://rwmj.wordpress.com/2019/04/09/tip-edit-grub-kernel-command-line-in-rhel-7-or-centos-7/
virt-customize command available since 2014[1] included in libguestfs-tools which allows to customize virtual machines.
http://libguestfs.org/virt-customize.1.html
Examples[edit]
- Edit grup Kernel command line [2]
virt-customize -a rhel7.img \
--edit '/etc/default/grub:
s/^GRUB_CMDLINE_LINUX="/GRUB_CMDLINE_LINUX="nosmt /' \
--run-command 'grub2-mkconfig -o /boot/grub2/grub.cfg'
virt-customize -a guest1.img \
--hostname guest1 --timezone Europe/London \
--install gcc
Related terms[edit]
See also[edit]
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
Advertising: