1
0
mirror of synced 2026-05-04 23:35:26 +00:00
This commit is contained in:
Steve Kemp
2008-12-08 20:35:13 +00:00
parent a95d576a4e
commit 3cb87c09e9
12 changed files with 26 additions and 16 deletions

View File

@@ -52,12 +52,12 @@ memory = '{$memory}'
{
if ( $image_vbd )
{
$OUT .= "root = '/dev/$device" . "1 ro'\n";
$OUT .= "disk = [ '$image_vbd," . $device . "1,w' ";
$OUT .= "root = '/dev/$device" . "2 ro'\n";
$OUT .= "disk = [ '$image_vbd," . $device . "2,w' ";
}
if ( $swap_vbd )
{
$OUT .= ", '$swap_vbd," . $device . "2,w'";
$OUT .= ", '$swap_vbd," . $device . "1,w'";
}
if ( $image_vbd )
{