Signed-off-by: Ian Jackson <[email protected]>
CC: Wei Liu <[email protected]>
CC: Paul Durrant <[email protected]>
---
ts-windows-install | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/ts-windows-install b/ts-windows-install
index 5ee127d..4dc8f2a 100755
--- a/ts-windows-install
+++ b/ts-windows-install
@@ -27,17 +27,19 @@ our ($whhost) = @ARGV;
$whhost ||= 'host';
our $ho= selecthost($whhost);
+our $gn = 'win';
our $gho;
-our $ram_mb= 1536;
-our $disk_mb= 32000;
-
our $guesthost= 'win.guest.osstest';
sub prep () {
target_install_packages_norec($ho, qw(lvm2 rsync));
- $gho= prepareguest($ho, 'win', $guesthost, 8936,
+ my $ghot = guest_template($gn);
+ my $ram_mb = guest_var($ghot, 'memsize', 1536);
+ my $disk_mb = guest_var($ghot, 'disksize', 32000);
+
+ $gho= prepareguest($ho, $gn, $guesthost, 8936,
$disk_mb + 1,
300);
--
2.1.4
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel