assign(array("RBSCN" => $rbs_data['cn'],
"NFS" => $rbs_data['nfsserverip'],
"NFSPATH" => $rbs_data['exportpath'],
"TFTP" => $rbs_data['tftpserverip'],
"TFTPPATH" => $rbs_data['tftppath'],
"NBD" => $rbs_data['nbdserverip']));
$template->assign(array("GBMDN" => $gbmDN,
"GBMCN" => "",
"LABEL" => "",
"KERNEL" => "",
"INITRD" => "",
"FSTYPE" => "",
"ROOTFS" => "",
"IPAPPEND" => ""));
# GBM Daten
$attributes = array("dn","cn","label","kernel","initrd","rootfstype","rootfspath","ipappend");
$gbm = get_node_data($gbmDN, $attributes);
if ($gbm['rootfstype'] == 'nfs'){
$options = "
";
}
if ($gbm['rootfstype'] == 'nbd'){
$options = "
";
}
if ($gbm['rootfstype'] == 'dnbd'){
$options = "
";
}
if ($gbm['rootfstype'] != 'nfs' && $gbm['rootfstype'] != 'nbd' && $gbm['rootfstype'] != 'dnbd'){
$options = "
";
}
$template->assign(array("GBMCN" => $gbm['cn'],
"LABEL" => $gbm['label'],
"KERNEL" => $gbm['kernel'],
"INITRD" => $gbm['initrd'],
"SELECTOPTIONS" => $options,
"ROOTFS" => $gbm['rootfspath'],
"IPAPPEND" => $gbm['ipappend'],
"RBSDN" => $rbsDN,
"MNR" => $mnr,
"SBMNR" => $sbmnr));
###################################################################################
include("rbs_footer.inc.php");
?>