Hi,
On Fri, Jan 06, 2012 at 08:44:49PM +0100, Jörgen Maas wrote:
In cobbler 2.2 the subnet field was renamed to netmask.
Users of the cobbler sles snippets from
http://fluxcoil.net/doku.php/cobbler/sles
can fetch the current version which works with cobbler 2.2 .
Hint for others to make snippets compatible with the changes:
something like this can be used:
#if $idata["subnet"] != ""
# we are using cobbler <=2.0 and subnet is used
#set $netmask = $idata["subnet"]
#else
# we are using cobbler 2.2 and subnet is no longer used
#set $netmask = $idata["netmask"]
#end if
またね、Christian