Commit 092309fc authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Add interface alias on the private ilo subnet.

parent 922164f4
...@@ -444,6 +444,10 @@ sub Install($$$) ...@@ -444,6 +444,10 @@ sub Install($$$)
push(@strings, push(@strings,
"ifconfig_xn0_alias0=\"inet 172.17.254.254 ". "ifconfig_xn0_alias0=\"inet 172.17.254.254 ".
"netmask 255.240.0.0\""); "netmask 255.240.0.0\"");
# ilo network. The control node takes .253
push(@strings,
"ifconfig_xn0_alias1=\"inet 10.249.249.254 ".
"netmask 255.255.255.0\"");
# Actual default router. # Actual default router.
push(@strings, push(@strings,
"defaultrouter=\"" . $configvars{"GENIRACK_ROUTER"} . "\""); "defaultrouter=\"" . $configvars{"GENIRACK_ROUTER"} . "\"");
...@@ -488,6 +492,9 @@ sub Install($$$) ...@@ -488,6 +492,9 @@ sub Install($$$)
my $ILOIP = $configvars{"GENIRACK_ILOIP"}; my $ILOIP = $configvars{"GENIRACK_ILOIP"};
Phase "nodes", "Adding nodes to the DB", sub { Phase "nodes", "Adding nodes to the DB", sub {
PhaseSkip("No ILO definitions file")
if (! -e $RACKILO);
my $query_result = my $query_result =
DBQueryWarn("select node_id from nodes where node_id='pc1'"); DBQueryWarn("select node_id from nodes where node_id='pc1'");
PhaseFail("DB error") PhaseFail("DB error")
......
Supports Markdown
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