Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Add option to specify the volumegroup
Browse files Browse the repository at this point in the history
  • Loading branch information
tgooding committed Jan 12, 2022
1 parent b186e15 commit 21e6cda
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bb/scripts/bbactivate.pl
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ sub writeConfiguration
"nodelist=s" => \$CFG{"nodelist"},
"esslist=s" => \$CFG{"esslist"},
"configtempl=s" => \$CFG{"configtempl"},
"volumegroup=s" => \$CFG{"volumegroup"},
"nvmetempl=s" => \$CFG{"nvmetempl"},
"outputconfig=s" => \$CFG{"outputconfig"},
"interfacename=s" => \$CFG{"interfacename"},
Expand Down Expand Up @@ -246,6 +247,7 @@ sub setDefaults
&def("envdir", 1, "HOME");
&def("lsfdir", 1, "");
&def("skip", 1, "");
&def("volumegroup", 1, "bb");
&def("configtempl", 2, "$SCRIPTPATH/bb.cfg");
&def("nvmetempl", 2, "$SCRIPTPATH/nvmet.json");

Expand Down Expand Up @@ -417,6 +419,8 @@ sub makeProxyConfigFile
{
$json->{"bb"}{"proxy"}{"controller"} = "csm";
}
$json->{"bb"}{"proxy"}{"volumegroup"} = $CFG{"volumegroup"};

$json->{"bb"}{"cmd"}{"controller"} = "none"; # disable on compute nodes

$json->{"bb"}{"server0"}{"sslcertif"} = $CFG{"sslcert"} if($CFG{"sslcert"} ne "default");
Expand Down

0 comments on commit 21e6cda

Please sign in to comment.