- or download this
#!/bin/env bash
declare -a hostlist=$(grep -P '(?<!#)--hostname' *.ks | awk -F'=' '{pr
+int $2}')
...
do
hostlist+="$host"
done
- or download this
#!/usr/bin/env perl
use strict;
...
close $fh;
}
}
- or download this
Provisioner]$ ./installer.pl
Useless use of private variable in void context at ./installer.pl line
+ 13.
...
Use of uninitialized value $hostname in concatenation (.) or string at
+ ./installer.pl line 24, <$fh> line 1.
readline() on closed filehandle $fh at ./installer.pl line 27.
- or download this
[################### Provisioner]$ ./installer.pl
...
master.myhost.com[################### Provisioner]$