From 3217ac26734458198449ec202c44a5608d54a08d Mon Sep 17 00:00:00 2001 From: immarvin Date: Tue, 15 May 2012 07:51:12 +0000 Subject: [PATCH] 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 --- xCAT/postscripts/setupesx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xCAT/postscripts/setupesx b/xCAT/postscripts/setupesx index 6a6822907..0e062cd60 100644 --- a/xCAT/postscripts/setupesx +++ b/xCAT/postscripts/setupesx @@ -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