Backporting brian finleys fix of adding / to var path in genesis-scripts doxcat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15446 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
74db2d9120
commit
4e91fb6cc7
@ -1,3 +1,9 @@
|
||||
#
|
||||
# 2013.02.07 Brian Elliott Finley <bfinley@us.ibm.com>
|
||||
# - Added slash in front of "var" in the NICSTOBRINGUP dhclient section.
|
||||
# Bug reported by Jeff Lang <jrlang@uwyo.edu>. Thanks, Jeff!
|
||||
#
|
||||
|
||||
modprobe acpi_cpufreq
|
||||
modprobe cpufreq_ondemand
|
||||
for gov in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do
|
||||
@ -77,7 +83,7 @@ NICSTOBRINGUP=`ip link|grep mtu|grep -v LOOPBACK|grep -v $bootnic|grep -v usb|gr
|
||||
export NICSTOBRINGUP
|
||||
for nic in $NICSTOBRINGUP; do
|
||||
dhclient -cf /etc/dhclient.conf -pf /var/run/dhclient.$nic.pid $nic &
|
||||
dhclient -cf /etc/dhclient.conf -6 -pf /var/run/dhclient6.$nic.pid -lf var/lib/dhclient/dhclient6.leases $nic &
|
||||
dhclient -cf /etc/dhclient.conf -6 -pf /var/run/dhclient6.$nic.pid -lf /var/lib/dhclient/dhclient6.leases $nic &
|
||||
done
|
||||
openssl genrsa -out /etc/xcat/certkey.pem 4096 > /dev/null 2>&1 &
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user