Skip to content

Commit

Permalink
Merge pull request #291 from jouvin/installfe-aquilon
Browse files Browse the repository at this point in the history
aii-installfe: add support for --cdburl
  • Loading branch information
jrha authored Jul 31, 2018
2 parents f6f92a9 + 5b04f71 commit a272187
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions aii-core/src/main/perl/aii-installfe
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,16 @@ expressions can be used.
Select boot from local disk for hosts listed on <filename>. Hosts have to
be listed one per line. Lines starting with # are comment.
=item --cdburl <url>
URL for CDB location
Known profiles are determined via the C<profiles-info.xml> file.
In case the C<dir:///path/profile/directory> is used,
all profiles in that directory are considered usable via C<file://>
url.
=item --configure <hostname|regexp>
Configure <hostname>. Perl regular expressions can be used.
Expand Down Expand Up @@ -281,6 +291,10 @@ sub app_options {

push(my @array,

{ NAME => 'cdburl=s',
HELP => 'URL for CDB location',
DEFAULT => undef },

{ NAME => 'configure=s',
HELP => 'Node(s) to be configured (can be a regexp)',
DEFAULT => undef },
Expand Down Expand Up @@ -541,6 +555,8 @@ sub parse_options {
# retrieve options for shellfe
#

push(@Options, '--cdburl', $this_app->option('cdburl')) if $this_app->option('cdburl');

push(@Options, '--nodhcp') if $this_app->option('nodhcp');
push(@Options, '--nonbp') if $this_app->option('nonbp');
push(@Options, '--noosinstall') if $this_app->option('noosinstall');
Expand Down

0 comments on commit a272187

Please sign in to comment.