2006-08-17 21:00:47 by steve
Update for tests.
This commit is contained in:
@@ -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' ]";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user