diff --git a/xCAT-UI/js/ui.js b/xCAT-UI/js/ui.js index 24224666a..065dcabe8 100644 --- a/xCAT-UI/js/ui.js +++ b/xCAT-UI/js/ui.js @@ -307,11 +307,11 @@ DataTable.prototype.add = function(rowCont) { * @param barId Status bar ID */ function createStatusBar(barId) { - var statusBar = $('
').css({ + // Do not change the background color or color! This is handled by the theme + // the user selects. + var statusBar = $('
').css({ 'margin-bottom': '5px', 'min-height': '30px', - 'background-color':'#7BBEDE', - 'color': '#FFFFFF', 'max-height': '150px', 'overflow': 'auto' }); @@ -354,10 +354,10 @@ function createStatusBar(barId) { * @return Info bar */ function createInfoBar(msg) { - var infoBar = $('
').css({ - 'margin': '5px 0px', - 'background-color':'#7BBEDE', - 'color': '#FFFFFF' + // Do not change the background color or color! This is handled by the theme + // the user selects. + var infoBar = $('
').css({ + 'margin': '5px 0px', }); var icon = $('').css({ 'display': 'inline-block', diff --git a/xCAT-UI/lib/functions.php b/xCAT-UI/lib/functions.php index 36ba1f178..a2d1b6506 100644 --- a/xCAT-UI/lib/functions.php +++ b/xCAT-UI/lib/functions.php @@ -97,7 +97,7 @@ function submit_request($req, $skipVerify, $opts_array){ // Turn on output buffering ob_start(); - if ($flush){ + if ($flush) { echo str_pad('',1024)."\n"; } diff --git a/xCAT-UI/xcat/plugins/webportal.pm b/xCAT-UI/xcat/plugins/webportal.pm index fca826280..6bac4b854 100644 --- a/xCAT-UI/xcat/plugins/webportal.pm +++ b/xCAT-UI/xcat/plugins/webportal.pm @@ -234,10 +234,6 @@ sub provzlinux { # Set nodetype definitions $out = `chtab node=$node noderes.netboot=zvm nodetype.nodetype=osi nodetype.provmethod=install nodetype.os=$os nodetype.arch=$arch nodetype.profile=$profile nodetype.comments="owner:$owner"`; - # Update hosts table and DNS - `makehosts`; - `makedns`; - # Create user directory entry replacing LXUSR with user ID # Use /opt/zhcp/conf/default.direct on zHCP as the template # USER LXUSR PSWD 512M 1G G @@ -316,6 +312,10 @@ sub provzlinux { $virt_addr = $virt_addr + 1; } } + + # Update hosts table and DNS + `makehosts`; + `makedns`; # Update DHCP `makedhcp -a`;