Commit 3e26f27d authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor bug fix; do not set a kernel command line on a virtual node.

parent da3b1786
......@@ -3106,7 +3106,8 @@ sub InitPnode($$)
$inner_elab_role = virtnodeelabrole($vnode);
$plab_role = virtnodeplabrole($vnode);
if ((!defined($cmdline) || $cmdline eq "")) {
if (!physnodeisvirtnode($pnode) &&
(!defined($cmdline) || $cmdline eq "")) {
# If the user hasn't overridden the command line, try to find a
# default for this OSID.
if (virtnodeneedslinkdelays($vnode)) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment