|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Maybe it's to much to ask, but does anyone know were I can find a script
to compress my virtual machines. I'm looking for a script that can compress a VM one by one. Something like, starting up the VM, running different tools to cleanup the image and then compressing the image. Thanks, |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Compression consists of two steps: pre-compacting and compacting.
It is not hard to start the VM but the challenge lies with logging onto the guest os. This can be done from script but you must be sure the screen always looks te same. If not, you must enable autologon and have a script inside the VM run cleanup and finally a pre-compaction phase (which can be automated btw). Once shut down, it is a matter of calling the compact method on the (or several) vhd files. So the Virtual Server script piece is not that hard, it is the logon and other in-guest-os actions you want to automate which makes things harder. "Michel" wrote: > Maybe it's to much to ask, but does anyone know were I can find a script > to compress my virtual machines. > I'm looking for a script that can compress a VM one by one. Something > like, starting up the VM, running different tools to cleanup the image > and then compressing the image. > > Thanks, > |
|
![]() |
| Outils de la discussion | |
|
|