Thomas Krause wrote:
> Hey,
>
> Is there a reason why can't you call si_addclients non-interactive without
> specifying the '--ip-range'-Parameter? The help for this parameter says that
> it is not necessary as long as you have a correctly configured DNS server
> running, which I do. So I believe this is simply a bug...
>
> Applying the patch below to remove the ip-range requirement worked fine on
> my system, with no error messages, etc.
>
> --- /usr/sbin/si_addclients.org 2007-08-09 21:48:37.000000000 +0200
> +++ /usr/sbin/si_addclients 2007-08-09 21:49:19.000000000 +0200
> @@ -145,7 +145,7 @@
> $domain_name = lc $domain_name;
>
> my $all_parameters_set = 0;
> -if (defined($hosts) and defined($ip_range) and defined($script)) {
> +if (defined($hosts) and defined($script)) {
> $all_parameters_set = 1;
> }
Applied. Thanks!
>
>
> If this is indeed a bug, feel free to forward this to the appropriate list
> or person.
>
> I'm using version 3.9.2 btw.
>
> Also, is there a way to use host ranges with si_addclients if your
> hostname-prefix has an '-' in it (e.g. client-01 to client-99)?
The character '-' is used as the meta-character delimiter to specify ranges, so
you can't use it in your hostnames. Anyway I don't see a clean solution for
this... maybe adding a --delimiter option?
-Andrea
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users