Displaying 1 result from an estimated 1 matches for "gwbit".
Did you mean:
gbit
2011 May 05
1
variables inside a template for my hp ilo device
...have derived from the ipaddress. This is my first template so I am not exactly sure if I can use ruby syntax inside a template.
Any ideas on how I can accomplish this?
# Define the two variables which will be used to determin which network the ilo will go on
ilonet = ''21''
gwbit = ''240''
dns = ''10.0.1.19''
netmask = ''255.255.255.0''
iparray = ipaddress.split(''.'')
iloip = iparray[0] + ''.'' + iparray[1] + ''.'' + iparray[2] + ''.'' + ilonet
gwarray = iloip.s...