mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-26 10:03:37 +03:00
Fixing wrong condition, write kernel_cms when it is _not_ empty.
git-svn-id: http://svn.opennebula.org/one/trunk@246 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
parent
fdf1f01faa
commit
1355d8fc07
@ -217,7 +217,7 @@ int LibVirtDriver::deployment_description(
|
||||
{
|
||||
file << "\t\t<cmdline>root=/dev/" << root;
|
||||
|
||||
if (kernel_cmd.empty())
|
||||
if (!kernel_cmd.empty())
|
||||
{
|
||||
file << " " << kernel_cmd;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user