Hi,
I have created a www/hiawatha jail template and set the following variable in my config file
Once the jail is cloned, I then run a postinstallation script to set create the user, and update various confi files.
In my script, I get the jail ip via
which return something like 10.10.1.18 etc
Could anyone please help me understanding how I can replace the ip address my /usr/local/etc/hiawatha.conf with the new IP?
Thank you
I have created a www/hiawatha jail template and set the following variable in my config file
Code:
set MyIPv4 = 10.10.1.17
In my script, I get the jail ip via
Code:
jailIP=`ifconfig lagg0 | grep inet | cut -w -f3`
Could anyone please help me understanding how I can replace the ip address my /usr/local/etc/hiawatha.conf with the new IP?
Thank you