Difference between revisions of "Virt-customize"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<code>virt-customize</code> command available since 2014<ref>https://rwmj.wordpress.com/2014/03/25/new-tool-virt-customize/</ref> included in <code>[[libguestfs-tools]]</code> which allows to customize virtual machines.
 
<code>virt-customize</code> command available since 2014<ref>https://rwmj.wordpress.com/2014/03/25/new-tool-virt-customize/</ref> included in <code>[[libguestfs-tools]]</code> which allows to customize virtual machines.
  
 +
http://libguestfs.org/virt-customize.1.html
  
 
== Examples ==
 
== Examples ==
Line 17: Line 18:
 
     --install gcc
 
     --install gcc
 
</pre>
 
</pre>
 +
 +
== Related terms ==
 +
* <code>[[virt-install]]</code>
 +
  
 
== See also ==
 
== See also ==

Latest revision as of 12:05, 10 April 2021

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]

  • 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/
  • Advertising: