HVM Template Creation

With the upcoming new release (version 1.2.11) we will be including an easy HVM template creation script.

Heres an example:

SolusVM HVM Template Creator v1      | ctrl+c to quit
=====================================================

Choose an operating system type/version:

  1) Windows 7              2) Windows Server 2008 R2
  3) Windows Server 2008    4) Windows Server 2003 R2
  5) Windows Server 2003    6) Windows Vista
  7) Windows 2000           8) Windows XP
Choice: 8
SolusVM HVM Template Creator v1      | ctrl+c to quit
=====================================================
Template Type.........: Windows XP
=====================================================

Enter the path to the source logical volume

   Available paths:

      /dev/vps/vm113_img
      /dev/vps/vm114_img
      /dev/vps/vm115_img

Path: /dev/vps/vm115_img
SolusVM HVM Template Creator v1      | ctrl+c to quit
=====================================================
Template Type.........: Windows XP
Template Source.......: /dev/vps/vm115_img
=====================================================

Enter a name for the template. Just press enter for defaults.

Filename: windows-xp-test
SolusVM HVM Template Creator v1      | ctrl+c to quit
=====================================================
Template Type.........: Windows XP
Template Source.......: /dev/vps/vm115_img
Template Source LV....: vm115_img
Template Filename.....: windows-xp-test.tar.gz
Template Destination..: /home/solusvm/tmp/
=====================================================

All the information has been collected and we are ready to proceed.

All output from the creation process will be displayed below

 *Hit enter to start*
CREATING MBR IMAGE...

1+0 records in
1+0 records out
512 bytes (512 B) copied, 0.000253 seconds, 2.0 MB/s

MAPPING PARTITIONS...

CREATING FILESYSTEM IMAGE...

ntfsclone v1.13.1 (libntfs 9:0:0)
NTFS volume version: 3.1
Cluster size       : 4096 bytes
Current volume size: 16105058304 bytes (16106 MB)
Current device size: 16105065984 bytes (16106 MB)
Scanning volume ...
100.00 percent completed
Accounting clusters ...
Space in use       : 3745 MB (23.3%)
Saving NTFS to image ...
100.00 percent completed
Syncing ...

UNMAPPING PARTITIONS...

CREATING ARCHIVE...

windows-xp-test/
windows-xp-test/windows-xp-test.img
windows-xp-test/windows-xp-test.mbr

CLEANING UP...

COMPLETE...

Template location: /home/solusvm/tmp/windows-xp-test.tar.gz

Have you read enough?