Red Hat SATELLITE 5.3.0 RELEASE NOTES Technické informace Strana 120

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 199
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 119
timezone America/New_York
auth --enablemd5 --enableshadow
rootpw --iscrypted $1$1o751Xnc$kmQKHj6gtZ50IILNkHkkF0
selinux --permissive
reboot
firewall --enabled
skipx
key --skip
%packages
@ Base
device-mapper-multipath
ntp
%post
(
#set the time from a server, then use this to set the hwclock. Enable ntp
/usr/sbin/ntpdate 10.16.255.2
hwclock --systohc
# Configure iptables
/bin/cp /etc/sysconfig/iptables /tmp/iptables
/usr/bin/head -n -2 /tmp/iptables > /etc/sysconfig/iptables
/bin/echo "-A RH-Firewall-1-INPUT -p tcp --dport 54321 -m state --state NEW -j ACCEPT" >>
/etc/sysconfig/iptables
/bin/echo "-A RH-Firewall-1-INPUT -p tcp -m multiport --dports 5634:6166 -j ACCEPT" >>
/etc/sysconfig/iptables
/bin/echo "-A RH-Firewall-1-INPUT -p tcp -m multiport --dport 16509 -j ACCEPT" >> /etc/sysconfig/iptables
/bin/echo "-A RH-Firewall-1-INPUT -p tcp --dport 49152:49216 -j ACCEPT" >> /etc/sysconfig/iptables
/bin/echo "-A RH-Firewall-1-INPUT -m physdev --physdev-is-bridged -j ACCEPT" >> /etc/sysconfig/iptables
/usr/bin/tail -2 /tmp/iptables >> /etc/sysconfig/iptables
#disable LRO - BZ 518531
echo "options bnx2x disable_tpa=1" >> /etc/modprobe.conf
# turn on rhn osad
/sbin/chkconfig osad on
#get the latest software
/usr/bin/yum -y update
# fix issues with networks started and crashing the driver on the reboot
/bin/cp /etc/rc.d/rc.local /etc/rc.d/rc.local.shipped
cat <<'EOF'>>/etc/rc.d/rc.local
#Even though we didn't want the networks to have ONBOOT=yes, they do, so make sure all except eth0 do not
sed -i 's/ONBOOT=yes/ONBOOT=no/' /etc/sysconfig/network-scripts/ifcfg-eth[1-7]
#BZ602402
sed -i "s/modprobe -q bnx2i/#modprobe -q bnx2i/" /etc/init.d/iscsid
chkconfig iscsid off
www.redhat.com 120
Zobrazit stránku 119
1 2 ... 115 116 117 118 119 120 121 122 123 124 125 ... 198 199

Komentáře k této Příručce

Žádné komentáře