Quote:
Originally Posted by
ctsgnb
The script is being used immediately following automated system provisioning, so that returns (none).
Basically the script takes in the following as inputs:
<bond0ip> <bond0snm> <bond0network> <eth1ip> <eth1snm> <eth1network> <FQDN> <DGW> <nameserver>
From this it will perform a ton of different actions. <FQDN> had originally just been hostname, however there is now a vendor requirement that we include a domain line in our resolv.conf file, so I have to make it into a FQDN and extract both from the one item so I can write them into the appropriate config files. Hope that clears stuff up a bit.
The easiest way would be if I could put in host name and domain separately, but as far as I know you can't use more than 9 arguments in a shell script (at least I've always had issues since $10 is viewed as $1 plus a 0).