mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
else statemens in a new line
This commit is contained in:
parent
a0cdd4f525
commit
088de40855
@ -510,7 +510,9 @@ int XenDriver::deployment_description(
|
||||
if ( !is_hvm )
|
||||
{
|
||||
file << "vfb = ['type=vnc";
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
file << "vnc = '1'" << endl;
|
||||
}
|
||||
|
||||
@ -519,7 +521,9 @@ int XenDriver::deployment_description(
|
||||
if ( is_hvm )
|
||||
{
|
||||
file << "vnclisten = '" << listen << "'" << endl;
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
file << ",vnclisten=" << listen << endl;
|
||||
}
|
||||
}
|
||||
@ -540,7 +544,9 @@ int XenDriver::deployment_description(
|
||||
{
|
||||
file << "vncunused = '0'" << endl;
|
||||
file << "vncdisplay = '" << display - 5900 << "'" << endl;
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
file << ",vncunused=0";
|
||||
file << ",vncdisplay=" << display - 5900;
|
||||
}
|
||||
@ -551,7 +557,9 @@ int XenDriver::deployment_description(
|
||||
if ( is_hvm )
|
||||
{
|
||||
file << "vncpasswd = '" << passwd << "'" << endl;
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
file << ",vncpasswd=" << passwd;
|
||||
}
|
||||
}
|
||||
@ -561,7 +569,9 @@ int XenDriver::deployment_description(
|
||||
if ( is_hvm )
|
||||
{
|
||||
file << "keymap = '" << keymap << "'" << endl;
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
file << ",keymap=" << keymap;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user