Mecworks

7/5/2007

Bash scripting tip: Convert IP address to HEX

Filed under: Linux, Tech — marc @ 2:43 pm

I was working on a project at work to make installation of SLES 10 servers easier in the lab that I work in. One of the features of SuSE products is to save the configuration of a machine into an XML config file that will be later used by AutoYast to clone the machine. This is useful in a variety of cases such as mine where we have a lab that needs several machines installed and it takes time to go through the configuration on each install or in the case where a school or computing lab needs to install several nearly identical machines. This saves valuable time.

(more…) (366 words)

Powered by WordPress