mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-21 10:40:24 +00:00
Revise the warning messages
This commit is contained in:
@@ -1477,9 +1477,26 @@ sub initDB
|
||||
$cmds = "XCATBYPASS=Y $::XCATROOT/sbin/tabdump site 2>/dev/null | grep xcatsslversion";
|
||||
xCAT::Utils->runcmd("$cmds", -1);
|
||||
if ($::RUNCMD_RC == 0) {
|
||||
verbose("+-+-+-+-+-+-+-+ The default value of site.xcatsslversion was updated.");
|
||||
verbose("|W|A|R|N|I|N|G| Run `chdef -t site xcatsslversion=' to update your system to");
|
||||
verbose("+-+-+-+-+-+-+-+ the new default value. See `man site' for more details");
|
||||
xCAT::MsgUtils->message('I',
|
||||
"__ ___ ___ _ _ ___ _ _ ___");
|
||||
xCAT::MsgUtils->message('I',
|
||||
"\\ \\ / /_\\ | _ \\ \\| |_ _| \\| |/ __| _ +-+-+-+-+-+-+-+");
|
||||
xCAT::MsgUtils->message('I',
|
||||
" \\ \\/\\/ / _ \\| / .` || || .` | (_ | oo\\ |W|A|R|N|I|N|G|");
|
||||
xCAT::MsgUtils->message('I',
|
||||
" \\_/\\_/_/ \\_\\_|_\\_|\\_|___|_|\\_|\\___| (__)\\ +-+-+-+-+-+-+-+");
|
||||
xCAT::MsgUtils->message('I',
|
||||
"+--------------------------------------------------------------+ +-+-+-+-+-+-+-+");
|
||||
xCAT::MsgUtils->message('I',
|
||||
"| The default value of `site.xcatsslversion' was updated. |:|W|A|R|N|I|N|G|");
|
||||
xCAT::MsgUtils->message('I',
|
||||
"| Run `chdef -t site xcatsslversion=' to update your system to |:+-+-+-+-+-+-+-+");
|
||||
xCAT::MsgUtils->message('I',
|
||||
"| the new default value. See `man site' for more details. |:+-+-+-+-+-+-+-+");
|
||||
xCAT::MsgUtils->message('I',
|
||||
"+--------------------------------------------------------------+:|W|A|R|N|I|N|G|");
|
||||
xCAT::MsgUtils->message('I',
|
||||
" ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::+-+-+-+-+-+-+-+");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user