1
0
mirror of synced 2026-04-17 00:00:12 +00:00

2006-08-17 21:00:47 by steve

Update for tests.
This commit is contained in:
steve
2006-08-17 21:00:47 +00:00
parent 7a7d1c6b00
commit 4bf7527c77
2 changed files with 6 additions and 3 deletions

View File

@@ -19,11 +19,11 @@ root = '/dev/{$device}1 ro'
{ if ( $noswap )
{
$OUT .= "disk = [ '$image_vbd,$device1,w' ]";
$OUT .= "disk = [ '$image_vbd,$device" . "1,w' ]";
}
else
{
$OUT .= "disk = [ '$image_vbd,$device1,w', '$swap_vbd,$device2,w' ]";
$OUT .= "disk = [ '$image_vbd,$device" . "1,w', '$swap_vbd,$device" . "2,w' ]";
}
}

View File

@@ -5,7 +5,7 @@
#
# Steve
# --
# $Id: xt-create-xen-config.t,v 1.2 2006-06-19 20:39:21 steve Exp $
# $Id: xt-create-xen-config.t,v 1.3 2006-08-17 21:00:47 steve Exp $
#
@@ -133,6 +133,9 @@ sub runCreateCommand
# Force a hostname
#
$params{'hostname'} = 'foo.my.flat';
# $params{'image_vbd'} = "/dev/foo";
# $params{'device1'} = 'hda';
$params{'noswap'} = 1;
#
# Create a temporary directory, and make sure it is present.