Is there a way to get the first three octets of $(ipaddress) without having to do a shellcommands or write/read to a file? All of that process subcontracting is a real drag on execution time.
I want to do something like:
control:
ip1_3 = ( "$(ipaddress[0]).$(ipaddress[1]).$(ipaddress[2])" )
... which doesn't work, of course.
Thanks for help!
Brian
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine
