1
0
mirror of synced 2026-04-24 19:50:09 +00:00

Fixed Debian Bug 484652, minor formating

This commit is contained in:
Dmitry Nedospasov
2010-08-30 22:34:31 +02:00
parent 80d002d8a8
commit 1e8b4d57c6

View File

@@ -63,32 +63,20 @@ memory = '{$memory}'
# Physical volumes
#
{
if ( ( $swap_vbd ) && ( $image_vbd ) )
{
$OUT .= "root = '/dev/$device" . "2 ro'\n";
$OUT .= "disk = [ ";
if ( $image_vbd )
{
$OUT .= "'$image_vbd," . $device . "2,w'";
$OUT .= "root = '/dev/$device" . "2 ro'\n";
$OUT .= "disk = [\n";
$OUT .= " '$image_vbd," . $device . "2,w',\n";
}
if ( $swap_vbd )
{
if ( $image_vbd )
{
$OUT .= ",";
}
$OUT .= "'$swap_vbd," . $device . "1,w'";
}
$OUT .= " ]\n";
if ( $swap_vbd )
{
$OUT .= " '$swap_vbd," . $device . "1,w',\n";
}
$OUT .= " ]\n";
}
}
#
# Hostname
#