2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-22 04:11:12 +00:00

Merge branch '2.9' of ssh://git.code.sf.net/p/xcat/xcat-core into 2.9

This commit is contained in:
Victor Hu
2015-01-08 13:16:17 -05:00
2 changed files with 13 additions and 0 deletions

View File

@@ -56,6 +56,10 @@ B<renergy> I<noderange> [-V] { savingstatus={on | off}
| dsavingstatus={on-norm | on-maxp | off}
| fsavingstatus={on | off} | ffovalue=MHZ }
I<NOTE:> The setting operation for B<Power 8> server is only supported
for the server which is running in PowerVM mode. Do NOT run the setting
for the server which is running in OPAL mode.
=back
B<BladeCenter specific :>

View File

@@ -105,6 +105,9 @@ config_Rsyslog_C3()
cat /tmp/sed.tmp >$2
echo "*.debug /var/log/messages" >> $2
touch /var/log/messages
if ( pmatch $OSVER "ubuntu*" ) || ( is_lsb_ubuntu ) || ( pmatch $OSVER "debian*" ); then
chown syslog:adm /var/log/messages
fi
else
sed 's/^\(\*\..*\)/\#\1/' $2 >/tmp/sed.tmp
cat /tmp/sed.tmp >$2
@@ -149,6 +152,9 @@ config_rsyslog_V8()
#logging is local, do not forward
#making sure all the messages goes to /var/log/messages
touch /var/log/messages
if ( pmatch $OSVER "ubuntu*" ) || ( is_lsb_ubuntu ) || ( pmatch $OSVER "debian*" ); then
chown syslog:adm /var/log/messages
fi
# backup rsyslog.conf
if [ ! -f $conf_file.XCATORIG ]; then
cp -f $conf_file $conf_file.XCATORIG
@@ -318,6 +324,9 @@ else
if [ $goLocal -eq 1 ]; then
#making sure all the messages goes to /var/log/messages
touch /var/log/messages
if ( pmatch $OSVER "ubuntu*" ) || ( is_lsb_ubuntu ) || ( pmatch $OSVER "debian*" ); then
chown syslog:adm /var/log/messages
fi
if [ $ng -eq 0 ]; then
if [ ! -f $conf_file.XCATORIG ]; then
cp -f $conf_file $conf_file.XCATORIG