Closed sfloess closed 8 years ago
Closing as we are using a better method of value/variable computation. As an example:
#set onDiskParam=$getVar('bootDisk', '') and ('--ondisk=' + $getVar('bootDisk')) or ''
part boot --fstype="$getVar('bootPartition', 'ext3')" --recommended --size=$getVar('bootPartitionSize', '250') $onDiskParam
Simplifying the computation of operating system name
and version...
if $getVar('$operatingSystem', '') == '' and $getVar('$os_version', '') != ''
end if
if $getVar('$operatingSystemVersion', '') == ''
set $operatingSystemVersion = float($os_version.replace($operatingSystem, '0'))
end if