Updated.
This commit is contained in:
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user