fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12709 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
92eff528bd
commit
3217ac2673
@ -1,7 +1,7 @@
|
||||
# esx setup
|
||||
# example on how to set up ESX. We setup ssh and also add a basic
|
||||
# VLAN configuration
|
||||
logger -t xcat setupesx
|
||||
logger -t xcat -p local4.info setupesx
|
||||
# Enable SSH access to root and exchange keys
|
||||
|
||||
sed -e 's/PermitRootLogin no/PermitRootLogin yes/' /etc/ssh/sshd_config > /etc/ssh/sshd_config.new
|
||||
@ -10,7 +10,7 @@ mv -f /etc/ssh/sshd_config.new /etc/ssh/sshd_config
|
||||
|
||||
if [ -r /etc/ssh/sshd_config ]
|
||||
then
|
||||
logger -t xcat "Install: setup /etc/ssh/sshd_config"
|
||||
logger -t xcat -p local4.info "Install: setup /etc/ssh/sshd_config"
|
||||
cp /etc/ssh/sshd_config /etc/ssh/sshd_config.ORIG
|
||||
sed -i 's/^X11Forwarding .*$/X11Forwarding yes/' /etc/ssh/sshd_config
|
||||
sed -i 's/^KeyRegenerationInterval .*$/KeyRegenerationInterval 0/' /etc/ssh/sshd_config
|
||||
@ -26,7 +26,7 @@ fi
|
||||
|
||||
if [ -d /xcatpost/_ssh ]
|
||||
then
|
||||
logger -t xcat "Install: setup root .ssh"
|
||||
logger -t xcat -p local4.info "Install: setup root .ssh"
|
||||
cd /xcatpost/_ssh
|
||||
mkdir -p /root/.ssh
|
||||
cp -f * /root/.ssh
|
||||
@ -55,7 +55,7 @@ esxcfg-firewall -e ntpClient
|
||||
esxcfg-firewall -o 123,udp,out,ntpServer
|
||||
esxcfg-firewall -o 514,udp,out,syslog
|
||||
esxcfg-firewall -l
|
||||
logger -t xcat "Install: restart syslog"
|
||||
logger -t xcat -p local4.info "Install: restart syslog"
|
||||
service syslog restart
|
||||
|
||||
EOF1
|
||||
|
Loading…
x
Reference in New Issue
Block a user