
# Assumes Satellite uses the lowest IP address
IP_DOMAIN=${SAT_IP%.*}
indx=1
tIP=`printf "%s.%d" ${IP_DOMAIN} ${indx}`
host ${tIP} > /dev/null 2>/dev/null
while [[ $? -eq 0 ]]
do
indx=`expr $indx + 1`
tIP=`printf "%s.%d" ${IP_DOMAIN} ${indx}`
host ${tIP} > /dev/null 2>/dev/null
done
echo "${fhost} ${tIP}"
6.6.1 RHEL Configuration for a RHEV Host
When the RHEL/KVM host is started for the first time, the kickstart installs the system with the
base software including NTP. Additionally, the post-install script:
• retrieves the time from a trusted source and sets the platform hardware clock
• configures the firewall to work with RHEV
• enables the RHN service
• disables LRO
• updates all software
• works around known issues which include a host reboot
rhelHost.ks
install
text
network --device eth0 --noipv6 --bootproto dhcp
network --device eth1 --noipv6 --onboot no --bootproto dhcp
network --device eth2 --noipv6 --onboot no --bootproto dhcp
network --device eth3 --noipv6 --onboot no --bootproto dhcp
network --device eth4 --noipv6 --onboot no --bootproto dhcp
network --device eth5 --noipv6 --onboot no --bootproto dhcp
network --device eth6 --noipv6 --onboot no --bootproto dhcp
network --device eth7 --noipv6 --onboot no --bootproto dhcp
url --url http://sat-vm.cloud.lab.eng.bos.redhat.com/ks/dist/ks-rhel-x86_64-server-5-u5
lang en_US
keyboard us
device scsi cciss
zerombr
clearpart --linux --drives=cciss/c0d0
part /boot --fstype=ext3 --size=200 --ondisk=cciss/c0d0
part pv.01 --size=1000 --grow --ondisk=cciss/c0d0
part swap --size=10000 --maxsize=20000 --ondisk=cciss/c0d0
volgroup rhelh_vg pv.01
logvol / --vgname=rhelh_vg --name=rootvol --size=1000 --grow
bootloader --location mbr
119 www.redhat.com
Comentários a estes Manuais