Commit 636eae74 authored by Leigh B Stoller's avatar Leigh B Stoller

Do not update virt_node_public_addr when impotent mode is on.

parent 7479bf71
......@@ -2218,7 +2218,8 @@ sub CreateVnodes($$$)
DBQueryFatal( "UPDATE virt_node_public_addr SET " .
"node_id='$vnodeid', card='0', port='1' " .
"WHERE IP='$jailip'" );
"WHERE IP='$jailip'" )
if (!$impotent);
} else {
#
# Construct a vnode private IP. The general form is:
......
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