[Libguestfs] virt-customize options that should work with Windows

Yongkui Guo yoguo at redhat.com
Thu Apr 1 10:02:20 UTC 2021


Hi rjones,

Many thanks for the info.


----- Original Message -----
> 
> These are the virt-customize operations that should work on Windows
> guests.  All others likely do not work.
> 
>        --copy SOURCE:DEST
>        --copy-in LOCALPATH:REMOTEDIR
>        --delete PATH
> 
>        --edit FILE:EXPR
>                   This should work, although there may be problems
> 		  with line endings.
> 
>        --firstboot SCRIPT
>        --firstboot-command 'CMD+ARGS'
>                   Obviously you need to use a batch file or powershell
> 		  script.  We know this should work because we use
> 		  it in virt-v2v.
> 
>        --hostname HOSTNAME
>        --timezone TIMEZONE
>                   I *think* these should work, but I've not tested them.
> 
>        --mkdir DIR
>        --move SOURCE:DEST
> 
>        --touch FILE
>        --truncate FILE
>        --truncate-recursive PATH
>        --upload FILE:DEST
>        --write FILE:CONTENT
> 
> Rich.
> 
> --
> Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
> Read my programming and virtualization blog: http://rwmj.wordpress.com
> virt-builder quickly builds VMs from scratch
> http://libguestfs.org/virt-builder.1.html
> 




More information about the Libguestfs mailing list