Displaying 1 result from an estimated 1 matches for "check_bool".
Did you mean:
check_bl
2010 Nov 05
3
Unable to create (and keep) guest
...Networking
#
dhcp = ''dhcp''
vif = [ ''mac=00:16:3E:1E:65:85'' ]
#
# Behaviour
#
on_poweroff = ''destroy''
on_reboot = ''restart''
on_crash = ''restart''
# Debian Installer specific variables
def check_bool(name, value):
value = str(value).lower()
if value in (''t'', ''tr'', ''tru'', ''true''):
return True
return False
global var_check_with_default
def var_check_with_default(default, var, val):
if val:
ret...