diff --git a/xCAT-nbroot2/dhclient-script b/xCAT-nbroot2/dhclient-script index b3cbefc7a..8e92ee932 100755 --- a/xCAT-nbroot2/dhclient-script +++ b/xCAT-nbroot2/dhclient-script @@ -1,4 +1,5 @@ -#!/bin/dash +#!/bin/sh +PATH=/bin:/sbin:/usr/bin:/usr/sbin if [ $reason = "PREINIT" -o $reason = "PREINIT6" ]; then ip link set $interface up while ! (ip link show $interface|grep LOWER_UP > /dev/null 2>&1); do @@ -19,13 +20,18 @@ elif [ $reason = "BOUND" ]; then echo nameserver $ns >> /etc/resolv.conf done for ntp in $new_ntp_servers; do - echo server $ntp >> /etc/ntp.conf + echo server $ntp iburst >> /etc/ntp.conf done for gw in $new_routers; do ip route add default via $gw done + if [ ! -z "$new_tcode" -a -r "/usr/share/zoneinfo/posix/$new_tcode" ]; then + cp "/usr/share/zoneinfo/posix/$new_tcode" /etc/localtime + rm -rf /usr/share/zoneinfo #free up ramdisk + fi elif [ $reason = "BOUND6" ]; then if [ ! -z "$new_ip6_address" ]; then ip addr add dev $interface $new_ip6_address/$new_ip6_prefixlen fi fi +exit 0 diff --git a/xCAT-nbroot2/dodiscovery b/xCAT-nbroot2/dodiscovery index 81dce124e..bb97f836c 100755 --- a/xCAT-nbroot2/dodiscovery +++ b/xCAT-nbroot2/dodiscovery @@ -4,7 +4,7 @@ minixcatd.awk & echo "Beginning node discovery process" NICSTOBRINGUP=`ip link|grep mtu|grep -v LOOPBACK|grep -v usb|grep -v ,UP|awk -F: '{print $2}'` for nic in $NICSTOBRINGUP; do - dhclient $nic & + dhclient -pf /var/run/dhclient.$nic.pid $nic & #no need to go out of our way for superfluous ipv6 nics done waitforlink=100 diff --git a/xCAT-nbroot2/install b/xCAT-nbroot2/install index bcc9ea916..bb9a5a22c 100755 --- a/xCAT-nbroot2/install +++ b/xCAT-nbroot2/install @@ -1,17 +1,593 @@ #!/bin/sh echo $drivers -dracut_install wget openssl tar ipmitool cpio gzip dash modprobe touch echo cut wc +dracut_install wget openssl tar ipmitool cpio gzip modprobe touch echo cut wc dracut_install grep ip hostname awk egrep grep dirname expr dracut_install mount.nfs sshd vi reboot lspci parted libvirtd /usr/share/libvirt/cpu_map.xml mkfs mkfs.ext4 mkfs.btrfs dracut_install mkswap df brctl vconfig ifenslave ssh-keygen /usr/bin/qemu-img /usr/libexec/qemu-kvm scp clear dhclient lldpad dracut_install lldptool /lib64/libnss_dns-2.12.so /lib64/libnss_dns.so.2 -dracut_install poweroff +dracut_install poweroff ntpq ntpd hwclock date /usr/share/terminfo/x/xterm /etc/nsswitch.conf /etc/services +dracut_install /sbin/rsyslogd +dracut_install chmod /lib/libc.so.6 /lib/ld-linux.so.2 /lib/libdl.so.2 /lib/libm.so.6 /sbin/route /sbin/ifconfig /usr/bin/head /etc/redhat-release ping tr lsusb #ibm fw wrapper requirements +dracut_install /usr/share/zoneinfo/posix/Zulu +dracut_install /usr/share/zoneinfo/posix/GMT-0 +dracut_install /usr/share/zoneinfo/posix/Europe/Istanbul +dracut_install /usr/share/zoneinfo/posix/Europe/San_Marino +dracut_install /usr/share/zoneinfo/posix/Europe/Jersey +dracut_install /usr/share/zoneinfo/posix/Europe/Bucharest +dracut_install /usr/share/zoneinfo/posix/Europe/Gibraltar +dracut_install /usr/share/zoneinfo/posix/Europe/Uzhgorod +dracut_install /usr/share/zoneinfo/posix/Europe/Moscow +dracut_install /usr/share/zoneinfo/posix/Europe/Brussels +dracut_install /usr/share/zoneinfo/posix/Europe/Nicosia +dracut_install /usr/share/zoneinfo/posix/Europe/Zurich +dracut_install /usr/share/zoneinfo/posix/Europe/Berlin +dracut_install /usr/share/zoneinfo/posix/Europe/Guernsey +dracut_install /usr/share/zoneinfo/posix/Europe/Budapest +dracut_install /usr/share/zoneinfo/posix/Europe/Kiev +dracut_install /usr/share/zoneinfo/posix/Europe/Podgorica +dracut_install /usr/share/zoneinfo/posix/Europe/Isle_of_Man +dracut_install /usr/share/zoneinfo/posix/Europe/Mariehamn +dracut_install /usr/share/zoneinfo/posix/Europe/Belgrade +dracut_install /usr/share/zoneinfo/posix/Europe/Belfast +dracut_install /usr/share/zoneinfo/posix/Europe/Ljubljana +dracut_install /usr/share/zoneinfo/posix/Europe/Chisinau +dracut_install /usr/share/zoneinfo/posix/Europe/Andorra +dracut_install /usr/share/zoneinfo/posix/Europe/Athens +dracut_install /usr/share/zoneinfo/posix/Europe/Stockholm +dracut_install /usr/share/zoneinfo/posix/Europe/Vienna +dracut_install /usr/share/zoneinfo/posix/Europe/Lisbon +dracut_install /usr/share/zoneinfo/posix/Europe/London +dracut_install /usr/share/zoneinfo/posix/Europe/Paris +dracut_install /usr/share/zoneinfo/posix/Europe/Oslo +dracut_install /usr/share/zoneinfo/posix/Europe/Zagreb +dracut_install /usr/share/zoneinfo/posix/Europe/Helsinki +dracut_install /usr/share/zoneinfo/posix/Europe/Warsaw +dracut_install /usr/share/zoneinfo/posix/Europe/Copenhagen +dracut_install /usr/share/zoneinfo/posix/Europe/Riga +dracut_install /usr/share/zoneinfo/posix/Europe/Vaduz +dracut_install /usr/share/zoneinfo/posix/Europe/Vilnius +dracut_install /usr/share/zoneinfo/posix/Europe/Volgograd +dracut_install /usr/share/zoneinfo/posix/Europe/Amsterdam +dracut_install /usr/share/zoneinfo/posix/Europe/Tiraspol +dracut_install /usr/share/zoneinfo/posix/Europe/Tallinn +dracut_install /usr/share/zoneinfo/posix/Europe/Kaliningrad +dracut_install /usr/share/zoneinfo/posix/Europe/Malta +dracut_install /usr/share/zoneinfo/posix/Europe/Sarajevo +dracut_install /usr/share/zoneinfo/posix/Europe/Madrid +dracut_install /usr/share/zoneinfo/posix/Europe/Zaporozhye +dracut_install /usr/share/zoneinfo/posix/Europe/Simferopol +dracut_install /usr/share/zoneinfo/posix/Europe/Sofia +dracut_install /usr/share/zoneinfo/posix/Europe/Skopje +dracut_install /usr/share/zoneinfo/posix/Europe/Monaco +dracut_install /usr/share/zoneinfo/posix/Europe/Rome +dracut_install /usr/share/zoneinfo/posix/Europe/Prague +dracut_install /usr/share/zoneinfo/posix/Europe/Luxembourg +dracut_install /usr/share/zoneinfo/posix/Europe/Minsk +dracut_install /usr/share/zoneinfo/posix/Europe/Vatican +dracut_install /usr/share/zoneinfo/posix/Europe/Dublin +dracut_install /usr/share/zoneinfo/posix/Europe/Samara +dracut_install /usr/share/zoneinfo/posix/Europe/Tirane +dracut_install /usr/share/zoneinfo/posix/Europe/Bratislava +dracut_install /usr/share/zoneinfo/posix/Greenwich +dracut_install /usr/share/zoneinfo/posix/US/Indiana-Starke +dracut_install /usr/share/zoneinfo/posix/US/Alaska +dracut_install /usr/share/zoneinfo/posix/US/Michigan +dracut_install /usr/share/zoneinfo/posix/US/Aleutian +dracut_install /usr/share/zoneinfo/posix/US/Hawaii +dracut_install /usr/share/zoneinfo/posix/US/Central +dracut_install /usr/share/zoneinfo/posix/US/Eastern +dracut_install /usr/share/zoneinfo/posix/US/Pacific +dracut_install /usr/share/zoneinfo/posix/US/Samoa +dracut_install /usr/share/zoneinfo/posix/US/Mountain +dracut_install /usr/share/zoneinfo/posix/US/Arizona +dracut_install /usr/share/zoneinfo/posix/US/East-Indiana +dracut_install /usr/share/zoneinfo/posix/EST +dracut_install /usr/share/zoneinfo/posix/HST +dracut_install /usr/share/zoneinfo/posix/Eire +dracut_install /usr/share/zoneinfo/posix/America/Cancun +dracut_install /usr/share/zoneinfo/posix/America/Santo_Domingo +dracut_install /usr/share/zoneinfo/posix/America/Jujuy +dracut_install /usr/share/zoneinfo/posix/America/Guatemala +dracut_install /usr/share/zoneinfo/posix/America/Monterrey +dracut_install /usr/share/zoneinfo/posix/America/Ensenada +dracut_install /usr/share/zoneinfo/posix/America/Dawson_Creek +dracut_install /usr/share/zoneinfo/posix/America/Mendoza +dracut_install /usr/share/zoneinfo/posix/America/Coral_Harbour +dracut_install /usr/share/zoneinfo/posix/America/Martinique +dracut_install /usr/share/zoneinfo/posix/America/Cordoba +dracut_install /usr/share/zoneinfo/posix/America/Recife +dracut_install /usr/share/zoneinfo/posix/America/Cayman +dracut_install /usr/share/zoneinfo/posix/America/Shiprock +dracut_install /usr/share/zoneinfo/posix/America/Tortola +dracut_install /usr/share/zoneinfo/posix/America/Lima +dracut_install /usr/share/zoneinfo/posix/America/Antigua +dracut_install /usr/share/zoneinfo/posix/America/Blanc-Sablon +dracut_install /usr/share/zoneinfo/posix/America/Nipigon +dracut_install /usr/share/zoneinfo/posix/America/Nome +dracut_install /usr/share/zoneinfo/posix/America/Montserrat +dracut_install /usr/share/zoneinfo/posix/America/Atka +dracut_install /usr/share/zoneinfo/posix/America/St_Thomas +dracut_install /usr/share/zoneinfo/posix/America/Halifax +dracut_install /usr/share/zoneinfo/posix/America/Montreal +dracut_install /usr/share/zoneinfo/posix/America/Curacao +dracut_install /usr/share/zoneinfo/posix/America/Cuiaba +dracut_install /usr/share/zoneinfo/posix/America/Winnipeg +dracut_install /usr/share/zoneinfo/posix/America/North_Dakota/New_Salem +dracut_install /usr/share/zoneinfo/posix/America/North_Dakota/Center +dracut_install /usr/share/zoneinfo/posix/America/Panama +dracut_install /usr/share/zoneinfo/posix/America/Rosario +dracut_install /usr/share/zoneinfo/posix/America/Anguilla +dracut_install /usr/share/zoneinfo/posix/America/Ojinaga +dracut_install /usr/share/zoneinfo/posix/America/Guyana +dracut_install /usr/share/zoneinfo/posix/America/Eirunepe +dracut_install /usr/share/zoneinfo/posix/America/Grand_Turk +dracut_install /usr/share/zoneinfo/posix/America/Rio_Branco +dracut_install /usr/share/zoneinfo/posix/America/Santa_Isabel +dracut_install /usr/share/zoneinfo/posix/America/Scoresbysund +dracut_install /usr/share/zoneinfo/posix/America/Adak +dracut_install /usr/share/zoneinfo/posix/America/Menominee +dracut_install /usr/share/zoneinfo/posix/America/Resolute +dracut_install /usr/share/zoneinfo/posix/America/Guadeloupe +dracut_install /usr/share/zoneinfo/posix/America/Indianapolis +dracut_install /usr/share/zoneinfo/posix/America/Vancouver +dracut_install /usr/share/zoneinfo/posix/America/Glace_Bay +dracut_install /usr/share/zoneinfo/posix/America/Buenos_Aires +dracut_install /usr/share/zoneinfo/posix/America/Virgin +dracut_install /usr/share/zoneinfo/posix/America/Belem +dracut_install /usr/share/zoneinfo/posix/America/Catamarca +dracut_install /usr/share/zoneinfo/posix/America/Bahia +dracut_install /usr/share/zoneinfo/posix/America/Fort_Wayne +dracut_install /usr/share/zoneinfo/posix/America/Hermosillo +dracut_install /usr/share/zoneinfo/posix/America/Rankin_Inlet +dracut_install /usr/share/zoneinfo/posix/America/Mexico_City +dracut_install /usr/share/zoneinfo/posix/America/Belize +dracut_install /usr/share/zoneinfo/posix/America/Maceio +dracut_install /usr/share/zoneinfo/posix/America/Dominica +dracut_install /usr/share/zoneinfo/posix/America/Swift_Current +dracut_install /usr/share/zoneinfo/posix/America/St_Johns +dracut_install /usr/share/zoneinfo/posix/America/St_Barthelemy +dracut_install /usr/share/zoneinfo/posix/America/Yellowknife +dracut_install /usr/share/zoneinfo/posix/America/Costa_Rica +dracut_install /usr/share/zoneinfo/posix/America/Pangnirtung +dracut_install /usr/share/zoneinfo/posix/America/Bogota +dracut_install /usr/share/zoneinfo/posix/America/Port-au-Prince +dracut_install /usr/share/zoneinfo/posix/America/Phoenix +dracut_install /usr/share/zoneinfo/posix/America/Port_of_Spain +dracut_install /usr/share/zoneinfo/posix/America/Matamoros +dracut_install /usr/share/zoneinfo/posix/America/Puerto_Rico +dracut_install /usr/share/zoneinfo/posix/America/Detroit +dracut_install /usr/share/zoneinfo/posix/America/Edmonton +dracut_install /usr/share/zoneinfo/posix/America/Toronto +dracut_install /usr/share/zoneinfo/posix/America/Cambridge_Bay +dracut_install /usr/share/zoneinfo/posix/America/Godthab +dracut_install /usr/share/zoneinfo/posix/America/Atikokan +dracut_install /usr/share/zoneinfo/posix/America/Juneau +dracut_install /usr/share/zoneinfo/posix/America/Managua +dracut_install /usr/share/zoneinfo/posix/America/Anchorage +dracut_install /usr/share/zoneinfo/posix/America/Merida +dracut_install /usr/share/zoneinfo/posix/America/Thunder_Bay +dracut_install /usr/share/zoneinfo/posix/America/Porto_Velho +dracut_install /usr/share/zoneinfo/posix/America/Argentina/Jujuy +dracut_install /usr/share/zoneinfo/posix/America/Argentina/La_Rioja +dracut_install /usr/share/zoneinfo/posix/America/Argentina/Mendoza +dracut_install /usr/share/zoneinfo/posix/America/Argentina/Cordoba +dracut_install /usr/share/zoneinfo/posix/America/Argentina/Ushuaia +dracut_install /usr/share/zoneinfo/posix/America/Argentina/Rio_Gallegos +dracut_install /usr/share/zoneinfo/posix/America/Argentina/Buenos_Aires +dracut_install /usr/share/zoneinfo/posix/America/Argentina/San_Juan +dracut_install /usr/share/zoneinfo/posix/America/Argentina/Catamarca +dracut_install /usr/share/zoneinfo/posix/America/Argentina/San_Luis +dracut_install /usr/share/zoneinfo/posix/America/Argentina/ComodRivadavia +dracut_install /usr/share/zoneinfo/posix/America/Argentina/Salta +dracut_install /usr/share/zoneinfo/posix/America/Argentina/Tucuman +dracut_install /usr/share/zoneinfo/posix/America/Iqaluit +dracut_install /usr/share/zoneinfo/posix/America/Chicago +dracut_install /usr/share/zoneinfo/posix/America/Miquelon +dracut_install /usr/share/zoneinfo/posix/America/Havana +dracut_install /usr/share/zoneinfo/posix/America/Guayaquil +dracut_install /usr/share/zoneinfo/posix/America/St_Vincent +dracut_install /usr/share/zoneinfo/posix/America/St_Lucia +dracut_install /usr/share/zoneinfo/posix/America/Boise +dracut_install /usr/share/zoneinfo/posix/America/Yakutat +dracut_install /usr/share/zoneinfo/posix/America/Santarem +dracut_install /usr/share/zoneinfo/posix/America/Campo_Grande +dracut_install /usr/share/zoneinfo/posix/America/Santiago +dracut_install /usr/share/zoneinfo/posix/America/Porto_Acre +dracut_install /usr/share/zoneinfo/posix/America/Sao_Paulo +dracut_install /usr/share/zoneinfo/posix/America/Thule +dracut_install /usr/share/zoneinfo/posix/America/New_York +dracut_install /usr/share/zoneinfo/posix/America/Nassau +dracut_install /usr/share/zoneinfo/posix/America/Dawson +dracut_install /usr/share/zoneinfo/posix/America/Louisville +dracut_install /usr/share/zoneinfo/posix/America/Asuncion +dracut_install /usr/share/zoneinfo/posix/America/Inuvik +dracut_install /usr/share/zoneinfo/posix/America/Paramaribo +dracut_install /usr/share/zoneinfo/posix/America/Chihuahua +dracut_install /usr/share/zoneinfo/posix/America/Mazatlan +dracut_install /usr/share/zoneinfo/posix/America/Grenada +dracut_install /usr/share/zoneinfo/posix/America/Denver +dracut_install /usr/share/zoneinfo/posix/America/Los_Angeles +dracut_install /usr/share/zoneinfo/posix/America/Marigot +dracut_install /usr/share/zoneinfo/posix/America/Manaus +dracut_install /usr/share/zoneinfo/posix/America/Regina +dracut_install /usr/share/zoneinfo/posix/America/Barbados +dracut_install /usr/share/zoneinfo/posix/America/Noronha +dracut_install /usr/share/zoneinfo/posix/America/Montevideo +dracut_install /usr/share/zoneinfo/posix/America/Caracas +dracut_install /usr/share/zoneinfo/posix/America/Rainy_River +dracut_install /usr/share/zoneinfo/posix/America/La_Paz +dracut_install /usr/share/zoneinfo/posix/America/Jamaica +dracut_install /usr/share/zoneinfo/posix/America/Moncton +dracut_install /usr/share/zoneinfo/posix/America/Whitehorse +dracut_install /usr/share/zoneinfo/posix/America/Fortaleza +dracut_install /usr/share/zoneinfo/posix/America/Kentucky/Monticello +dracut_install /usr/share/zoneinfo/posix/America/Kentucky/Louisville +dracut_install /usr/share/zoneinfo/posix/America/Indiana/Marengo +dracut_install /usr/share/zoneinfo/posix/America/Indiana/Indianapolis +dracut_install /usr/share/zoneinfo/posix/America/Indiana/Knox +dracut_install /usr/share/zoneinfo/posix/America/Indiana/Tell_City +dracut_install /usr/share/zoneinfo/posix/America/Indiana/Petersburg +dracut_install /usr/share/zoneinfo/posix/America/Indiana/Winamac +dracut_install /usr/share/zoneinfo/posix/America/Indiana/Vincennes +dracut_install /usr/share/zoneinfo/posix/America/Indiana/Vevay +dracut_install /usr/share/zoneinfo/posix/America/Danmarkshavn +dracut_install /usr/share/zoneinfo/posix/America/St_Kitts +dracut_install /usr/share/zoneinfo/posix/America/Aruba +dracut_install /usr/share/zoneinfo/posix/America/Boa_Vista +dracut_install /usr/share/zoneinfo/posix/America/Bahia_Banderas +dracut_install /usr/share/zoneinfo/posix/America/Tegucigalpa +dracut_install /usr/share/zoneinfo/posix/America/Araguaina +dracut_install /usr/share/zoneinfo/posix/America/El_Salvador +dracut_install /usr/share/zoneinfo/posix/America/Cayenne +dracut_install /usr/share/zoneinfo/posix/America/Tijuana +dracut_install /usr/share/zoneinfo/posix/America/Knox_IN +dracut_install /usr/share/zoneinfo/posix/America/Goose_Bay +dracut_install /usr/share/zoneinfo/posix/EET +dracut_install /usr/share/zoneinfo/posix/EST5EDT +dracut_install /usr/share/zoneinfo/posix/Mideast/Riyadh89 +dracut_install /usr/share/zoneinfo/posix/Mideast/Riyadh88 +dracut_install /usr/share/zoneinfo/posix/Mideast/Riyadh87 +dracut_install /usr/share/zoneinfo/posix/MST +dracut_install /usr/share/zoneinfo/posix/Iceland +dracut_install /usr/share/zoneinfo/posix/Atlantic/Faeroe +dracut_install /usr/share/zoneinfo/posix/Atlantic/Stanley +dracut_install /usr/share/zoneinfo/posix/Atlantic/Reykjavik +dracut_install /usr/share/zoneinfo/posix/Atlantic/St_Helena +dracut_install /usr/share/zoneinfo/posix/Atlantic/Faroe +dracut_install /usr/share/zoneinfo/posix/Atlantic/South_Georgia +dracut_install /usr/share/zoneinfo/posix/Atlantic/Jan_Mayen +dracut_install /usr/share/zoneinfo/posix/Atlantic/Azores +dracut_install /usr/share/zoneinfo/posix/Atlantic/Cape_Verde +dracut_install /usr/share/zoneinfo/posix/Atlantic/Madeira +dracut_install /usr/share/zoneinfo/posix/Atlantic/Bermuda +dracut_install /usr/share/zoneinfo/posix/Atlantic/Canary +dracut_install /usr/share/zoneinfo/posix/GMT0 +dracut_install /usr/share/zoneinfo/posix/Poland +dracut_install /usr/share/zoneinfo/posix/Indian/Chagos +dracut_install /usr/share/zoneinfo/posix/Indian/Maldives +dracut_install /usr/share/zoneinfo/posix/Indian/Comoro +dracut_install /usr/share/zoneinfo/posix/Indian/Mauritius +dracut_install /usr/share/zoneinfo/posix/Indian/Mayotte +dracut_install /usr/share/zoneinfo/posix/Indian/Christmas +dracut_install /usr/share/zoneinfo/posix/Indian/Antananarivo +dracut_install /usr/share/zoneinfo/posix/Indian/Kerguelen +dracut_install /usr/share/zoneinfo/posix/Indian/Mahe +dracut_install /usr/share/zoneinfo/posix/Indian/Cocos +dracut_install /usr/share/zoneinfo/posix/Indian/Reunion +dracut_install /usr/share/zoneinfo/posix/Mexico/BajaNorte +dracut_install /usr/share/zoneinfo/posix/Mexico/BajaSur +dracut_install /usr/share/zoneinfo/posix/Mexico/General +dracut_install /usr/share/zoneinfo/posix/Turkey +dracut_install /usr/share/zoneinfo/posix/Egypt +dracut_install /usr/share/zoneinfo/posix/Hongkong +dracut_install /usr/share/zoneinfo/posix/GB +dracut_install /usr/share/zoneinfo/posix/GMT+0 +dracut_install /usr/share/zoneinfo/posix/ROK +dracut_install /usr/share/zoneinfo/posix/Antarctica/Mawson +dracut_install /usr/share/zoneinfo/posix/Antarctica/Macquarie +dracut_install /usr/share/zoneinfo/posix/Antarctica/South_Pole +dracut_install /usr/share/zoneinfo/posix/Antarctica/Rothera +dracut_install /usr/share/zoneinfo/posix/Antarctica/Davis +dracut_install /usr/share/zoneinfo/posix/Antarctica/DumontDUrville +dracut_install /usr/share/zoneinfo/posix/Antarctica/McMurdo +dracut_install /usr/share/zoneinfo/posix/Antarctica/Casey +dracut_install /usr/share/zoneinfo/posix/Antarctica/Vostok +dracut_install /usr/share/zoneinfo/posix/Antarctica/Palmer +dracut_install /usr/share/zoneinfo/posix/Antarctica/Syowa +dracut_install /usr/share/zoneinfo/posix/Universal +dracut_install /usr/share/zoneinfo/posix/CET +dracut_install /usr/share/zoneinfo/posix/WET +dracut_install /usr/share/zoneinfo/posix/Navajo +dracut_install /usr/share/zoneinfo/posix/UTC +dracut_install /usr/share/zoneinfo/posix/Pacific/Enderbury +dracut_install /usr/share/zoneinfo/posix/Pacific/Johnston +dracut_install /usr/share/zoneinfo/posix/Pacific/Pago_Pago +dracut_install /usr/share/zoneinfo/posix/Pacific/Saipan +dracut_install /usr/share/zoneinfo/posix/Pacific/Norfolk +dracut_install /usr/share/zoneinfo/posix/Pacific/Chuuk +dracut_install /usr/share/zoneinfo/posix/Pacific/Galapagos +dracut_install /usr/share/zoneinfo/posix/Pacific/Palau +dracut_install /usr/share/zoneinfo/posix/Pacific/Tarawa +dracut_install /usr/share/zoneinfo/posix/Pacific/Fakaofo +dracut_install /usr/share/zoneinfo/posix/Pacific/Rarotonga +dracut_install /usr/share/zoneinfo/posix/Pacific/Wake +dracut_install /usr/share/zoneinfo/posix/Pacific/Kosrae +dracut_install /usr/share/zoneinfo/posix/Pacific/Tahiti +dracut_install /usr/share/zoneinfo/posix/Pacific/Fiji +dracut_install /usr/share/zoneinfo/posix/Pacific/Ponape +dracut_install /usr/share/zoneinfo/posix/Pacific/Tongatapu +dracut_install /usr/share/zoneinfo/posix/Pacific/Efate +dracut_install /usr/share/zoneinfo/posix/Pacific/Honolulu +dracut_install /usr/share/zoneinfo/posix/Pacific/Niue +dracut_install /usr/share/zoneinfo/posix/Pacific/Kwajalein +dracut_install /usr/share/zoneinfo/posix/Pacific/Guam +dracut_install /usr/share/zoneinfo/posix/Pacific/Funafuti +dracut_install /usr/share/zoneinfo/posix/Pacific/Majuro +dracut_install /usr/share/zoneinfo/posix/Pacific/Midway +dracut_install /usr/share/zoneinfo/posix/Pacific/Nauru +dracut_install /usr/share/zoneinfo/posix/Pacific/Samoa +dracut_install /usr/share/zoneinfo/posix/Pacific/Marquesas +dracut_install /usr/share/zoneinfo/posix/Pacific/Kiritimati +dracut_install /usr/share/zoneinfo/posix/Pacific/Noumea +dracut_install /usr/share/zoneinfo/posix/Pacific/Truk +dracut_install /usr/share/zoneinfo/posix/Pacific/Guadalcanal +dracut_install /usr/share/zoneinfo/posix/Pacific/Pohnpei +dracut_install /usr/share/zoneinfo/posix/Pacific/Pitcairn +dracut_install /usr/share/zoneinfo/posix/Pacific/Port_Moresby +dracut_install /usr/share/zoneinfo/posix/Pacific/Yap +dracut_install /usr/share/zoneinfo/posix/Pacific/Easter +dracut_install /usr/share/zoneinfo/posix/Pacific/Wallis +dracut_install /usr/share/zoneinfo/posix/Pacific/Apia +dracut_install /usr/share/zoneinfo/posix/Pacific/Auckland +dracut_install /usr/share/zoneinfo/posix/Pacific/Gambier +dracut_install /usr/share/zoneinfo/posix/Pacific/Chatham +dracut_install /usr/share/zoneinfo/posix/Japan +dracut_install /usr/share/zoneinfo/posix/Libya +dracut_install /usr/share/zoneinfo/posix/ROC +dracut_install /usr/share/zoneinfo/posix/Iran +dracut_install /usr/share/zoneinfo/posix/Brazil/West +dracut_install /usr/share/zoneinfo/posix/Brazil/East +dracut_install /usr/share/zoneinfo/posix/Brazil/Acre +dracut_install /usr/share/zoneinfo/posix/Brazil/DeNoronha +dracut_install /usr/share/zoneinfo/posix/Arctic/Longyearbyen +dracut_install /usr/share/zoneinfo/posix/Portugal +dracut_install /usr/share/zoneinfo/posix/MET +dracut_install /usr/share/zoneinfo/posix/W-SU +dracut_install /usr/share/zoneinfo/posix/Kwajalein +dracut_install /usr/share/zoneinfo/posix/CST6CDT +dracut_install /usr/share/zoneinfo/posix/GB-Eire +dracut_install /usr/share/zoneinfo/posix/Australia/Melbourne +dracut_install /usr/share/zoneinfo/posix/Australia/Broken_Hill +dracut_install /usr/share/zoneinfo/posix/Australia/Queensland +dracut_install /usr/share/zoneinfo/posix/Australia/South +dracut_install /usr/share/zoneinfo/posix/Australia/Eucla +dracut_install /usr/share/zoneinfo/posix/Australia/Yancowinna +dracut_install /usr/share/zoneinfo/posix/Australia/Lord_Howe +dracut_install /usr/share/zoneinfo/posix/Australia/Hobart +dracut_install /usr/share/zoneinfo/posix/Australia/NSW +dracut_install /usr/share/zoneinfo/posix/Australia/West +dracut_install /usr/share/zoneinfo/posix/Australia/LHI +dracut_install /usr/share/zoneinfo/posix/Australia/Perth +dracut_install /usr/share/zoneinfo/posix/Australia/ACT +dracut_install /usr/share/zoneinfo/posix/Australia/Darwin +dracut_install /usr/share/zoneinfo/posix/Australia/Lindeman +dracut_install /usr/share/zoneinfo/posix/Australia/Sydney +dracut_install /usr/share/zoneinfo/posix/Australia/North +dracut_install /usr/share/zoneinfo/posix/Australia/Canberra +dracut_install /usr/share/zoneinfo/posix/Australia/Adelaide +dracut_install /usr/share/zoneinfo/posix/Australia/Brisbane +dracut_install /usr/share/zoneinfo/posix/Australia/Victoria +dracut_install /usr/share/zoneinfo/posix/Australia/Tasmania +dracut_install /usr/share/zoneinfo/posix/Australia/Currie +dracut_install /usr/share/zoneinfo/posix/UCT +dracut_install /usr/share/zoneinfo/posix/Cuba +dracut_install /usr/share/zoneinfo/posix/Singapore +dracut_install /usr/share/zoneinfo/posix/GMT +dracut_install /usr/share/zoneinfo/posix/NZ-CHAT +dracut_install /usr/share/zoneinfo/posix/Asia/Istanbul +dracut_install /usr/share/zoneinfo/posix/Asia/Kuwait +dracut_install /usr/share/zoneinfo/posix/Asia/Saigon +dracut_install /usr/share/zoneinfo/posix/Asia/Riyadh89 +dracut_install /usr/share/zoneinfo/posix/Asia/Urumqi +dracut_install /usr/share/zoneinfo/posix/Asia/Brunei +dracut_install /usr/share/zoneinfo/posix/Asia/Ujung_Pandang +dracut_install /usr/share/zoneinfo/posix/Asia/Muscat +dracut_install /usr/share/zoneinfo/posix/Asia/Kashgar +dracut_install /usr/share/zoneinfo/posix/Asia/Kamchatka +dracut_install /usr/share/zoneinfo/posix/Asia/Manila +dracut_install /usr/share/zoneinfo/posix/Asia/Vladivostok +dracut_install /usr/share/zoneinfo/posix/Asia/Jayapura +dracut_install /usr/share/zoneinfo/posix/Asia/Magadan +dracut_install /usr/share/zoneinfo/posix/Asia/Almaty +dracut_install /usr/share/zoneinfo/posix/Asia/Qyzylorda +dracut_install /usr/share/zoneinfo/posix/Asia/Anadyr +dracut_install /usr/share/zoneinfo/posix/Asia/Nicosia +dracut_install /usr/share/zoneinfo/posix/Asia/Kathmandu +dracut_install /usr/share/zoneinfo/posix/Asia/Qatar +dracut_install /usr/share/zoneinfo/posix/Asia/Jerusalem +dracut_install /usr/share/zoneinfo/posix/Asia/Yakutsk +dracut_install /usr/share/zoneinfo/posix/Asia/Karachi +dracut_install /usr/share/zoneinfo/posix/Asia/Samarkand +dracut_install /usr/share/zoneinfo/posix/Asia/Kolkata +dracut_install /usr/share/zoneinfo/posix/Asia/Ulaanbaatar +dracut_install /usr/share/zoneinfo/posix/Asia/Irkutsk +dracut_install /usr/share/zoneinfo/posix/Asia/Baku +dracut_install /usr/share/zoneinfo/posix/Asia/Gaza +dracut_install /usr/share/zoneinfo/posix/Asia/Seoul +dracut_install /usr/share/zoneinfo/posix/Asia/Chungking +dracut_install /usr/share/zoneinfo/posix/Asia/Amman +dracut_install /usr/share/zoneinfo/posix/Asia/Kuala_Lumpur +dracut_install /usr/share/zoneinfo/posix/Asia/Aqtobe +dracut_install /usr/share/zoneinfo/posix/Asia/Katmandu +dracut_install /usr/share/zoneinfo/posix/Asia/Tashkent +dracut_install /usr/share/zoneinfo/posix/Asia/Oral +dracut_install /usr/share/zoneinfo/posix/Asia/Dhaka +dracut_install /usr/share/zoneinfo/posix/Asia/Hovd +dracut_install /usr/share/zoneinfo/posix/Asia/Makassar +dracut_install /usr/share/zoneinfo/posix/Asia/Bangkok +dracut_install /usr/share/zoneinfo/posix/Asia/Tokyo +dracut_install /usr/share/zoneinfo/posix/Asia/Macao +dracut_install /usr/share/zoneinfo/posix/Asia/Riyadh +dracut_install /usr/share/zoneinfo/posix/Asia/Rangoon +dracut_install /usr/share/zoneinfo/posix/Asia/Riyadh88 +dracut_install /usr/share/zoneinfo/posix/Asia/Jakarta +dracut_install /usr/share/zoneinfo/posix/Asia/Aden +dracut_install /usr/share/zoneinfo/posix/Asia/Calcutta +dracut_install /usr/share/zoneinfo/posix/Asia/Ashkhabad +dracut_install /usr/share/zoneinfo/posix/Asia/Beirut +dracut_install /usr/share/zoneinfo/posix/Asia/Harbin +dracut_install /usr/share/zoneinfo/posix/Asia/Novosibirsk +dracut_install /usr/share/zoneinfo/posix/Asia/Omsk +dracut_install /usr/share/zoneinfo/posix/Asia/Aqtau +dracut_install /usr/share/zoneinfo/posix/Asia/Bahrain +dracut_install /usr/share/zoneinfo/posix/Asia/Dili +dracut_install /usr/share/zoneinfo/posix/Asia/Pontianak +dracut_install /usr/share/zoneinfo/posix/Asia/Singapore +dracut_install /usr/share/zoneinfo/posix/Asia/Baghdad +dracut_install /usr/share/zoneinfo/posix/Asia/Novokuznetsk +dracut_install /usr/share/zoneinfo/posix/Asia/Dubai +dracut_install /usr/share/zoneinfo/posix/Asia/Dushanbe +dracut_install /usr/share/zoneinfo/posix/Asia/Damascus +dracut_install /usr/share/zoneinfo/posix/Asia/Krasnoyarsk +dracut_install /usr/share/zoneinfo/posix/Asia/Tbilisi +dracut_install /usr/share/zoneinfo/posix/Asia/Yerevan +dracut_install /usr/share/zoneinfo/posix/Asia/Pyongyang +dracut_install /usr/share/zoneinfo/posix/Asia/Bishkek +dracut_install /usr/share/zoneinfo/posix/Asia/Colombo +dracut_install /usr/share/zoneinfo/posix/Asia/Yekaterinburg +dracut_install /usr/share/zoneinfo/posix/Asia/Chongqing +dracut_install /usr/share/zoneinfo/posix/Asia/Ho_Chi_Minh +dracut_install /usr/share/zoneinfo/posix/Asia/Hong_Kong +dracut_install /usr/share/zoneinfo/posix/Asia/Thimbu +dracut_install /usr/share/zoneinfo/posix/Asia/Thimphu +dracut_install /usr/share/zoneinfo/posix/Asia/Ashgabat +dracut_install /usr/share/zoneinfo/posix/Asia/Shanghai +dracut_install /usr/share/zoneinfo/posix/Asia/Tehran +dracut_install /usr/share/zoneinfo/posix/Asia/Tel_Aviv +dracut_install /usr/share/zoneinfo/posix/Asia/Taipei +dracut_install /usr/share/zoneinfo/posix/Asia/Kabul +dracut_install /usr/share/zoneinfo/posix/Asia/Macau +dracut_install /usr/share/zoneinfo/posix/Asia/Riyadh87 +dracut_install /usr/share/zoneinfo/posix/Asia/Choibalsan +dracut_install /usr/share/zoneinfo/posix/Asia/Vientiane +dracut_install /usr/share/zoneinfo/posix/Asia/Dacca +dracut_install /usr/share/zoneinfo/posix/Asia/Kuching +dracut_install /usr/share/zoneinfo/posix/Asia/Phnom_Penh +dracut_install /usr/share/zoneinfo/posix/Asia/Ulan_Bator +dracut_install /usr/share/zoneinfo/posix/Asia/Sakhalin +dracut_install /usr/share/zoneinfo/posix/MST7MDT +dracut_install /usr/share/zoneinfo/posix/Canada/East-Saskatchewan +dracut_install /usr/share/zoneinfo/posix/Canada/Atlantic +dracut_install /usr/share/zoneinfo/posix/Canada/Central +dracut_install /usr/share/zoneinfo/posix/Canada/Eastern +dracut_install /usr/share/zoneinfo/posix/Canada/Yukon +dracut_install /usr/share/zoneinfo/posix/Canada/Pacific +dracut_install /usr/share/zoneinfo/posix/Canada/Saskatchewan +dracut_install /usr/share/zoneinfo/posix/Canada/Mountain +dracut_install /usr/share/zoneinfo/posix/Canada/Newfoundland +dracut_install /usr/share/zoneinfo/posix/Israel +dracut_install /usr/share/zoneinfo/posix/Africa/Lagos +dracut_install /usr/share/zoneinfo/posix/Africa/Kigali +dracut_install /usr/share/zoneinfo/posix/Africa/Lome +dracut_install /usr/share/zoneinfo/posix/Africa/Niamey +dracut_install /usr/share/zoneinfo/posix/Africa/Conakry +dracut_install /usr/share/zoneinfo/posix/Africa/Asmera +dracut_install /usr/share/zoneinfo/posix/Africa/Banjul +dracut_install /usr/share/zoneinfo/posix/Africa/Abidjan +dracut_install /usr/share/zoneinfo/posix/Africa/Bujumbura +dracut_install /usr/share/zoneinfo/posix/Africa/Luanda +dracut_install /usr/share/zoneinfo/posix/Africa/Kampala +dracut_install /usr/share/zoneinfo/posix/Africa/Ouagadougou +dracut_install /usr/share/zoneinfo/posix/Africa/Libreville +dracut_install /usr/share/zoneinfo/posix/Africa/Lubumbashi +dracut_install /usr/share/zoneinfo/posix/Africa/Dakar +dracut_install /usr/share/zoneinfo/posix/Africa/Bamako +dracut_install /usr/share/zoneinfo/posix/Africa/Nairobi +dracut_install /usr/share/zoneinfo/posix/Africa/Bangui +dracut_install /usr/share/zoneinfo/posix/Africa/Johannesburg +dracut_install /usr/share/zoneinfo/posix/Africa/Accra +dracut_install /usr/share/zoneinfo/posix/Africa/Bissau +dracut_install /usr/share/zoneinfo/posix/Africa/Timbuktu +dracut_install /usr/share/zoneinfo/posix/Africa/Nouakchott +dracut_install /usr/share/zoneinfo/posix/Africa/Maputo +dracut_install /usr/share/zoneinfo/posix/Africa/Ndjamena +dracut_install /usr/share/zoneinfo/posix/Africa/Maseru +dracut_install /usr/share/zoneinfo/posix/Africa/Tripoli +dracut_install /usr/share/zoneinfo/posix/Africa/Blantyre +dracut_install /usr/share/zoneinfo/posix/Africa/Gaborone +dracut_install /usr/share/zoneinfo/posix/Africa/Addis_Ababa +dracut_install /usr/share/zoneinfo/posix/Africa/Porto-Novo +dracut_install /usr/share/zoneinfo/posix/Africa/Kinshasa +dracut_install /usr/share/zoneinfo/posix/Africa/Dar_es_Salaam +dracut_install /usr/share/zoneinfo/posix/Africa/Douala +dracut_install /usr/share/zoneinfo/posix/Africa/Mogadishu +dracut_install /usr/share/zoneinfo/posix/Africa/Monrovia +dracut_install /usr/share/zoneinfo/posix/Africa/Mbabane +dracut_install /usr/share/zoneinfo/posix/Africa/Algiers +dracut_install /usr/share/zoneinfo/posix/Africa/Lusaka +dracut_install /usr/share/zoneinfo/posix/Africa/Khartoum +dracut_install /usr/share/zoneinfo/posix/Africa/Asmara +dracut_install /usr/share/zoneinfo/posix/Africa/Tunis +dracut_install /usr/share/zoneinfo/posix/Africa/Casablanca +dracut_install /usr/share/zoneinfo/posix/Africa/Sao_Tome +dracut_install /usr/share/zoneinfo/posix/Africa/Ceuta +dracut_install /usr/share/zoneinfo/posix/Africa/El_Aaiun +dracut_install /usr/share/zoneinfo/posix/Africa/Harare +dracut_install /usr/share/zoneinfo/posix/Africa/Freetown +dracut_install /usr/share/zoneinfo/posix/Africa/Windhoek +dracut_install /usr/share/zoneinfo/posix/Africa/Djibouti +dracut_install /usr/share/zoneinfo/posix/Africa/Malabo +dracut_install /usr/share/zoneinfo/posix/Africa/Cairo +dracut_install /usr/share/zoneinfo/posix/Africa/Brazzaville +dracut_install /usr/share/zoneinfo/posix/Etc/Zulu +dracut_install /usr/share/zoneinfo/posix/Etc/GMT-0 +dracut_install /usr/share/zoneinfo/posix/Etc/Greenwich +dracut_install /usr/share/zoneinfo/posix/Etc/GMT+6 +dracut_install /usr/share/zoneinfo/posix/Etc/GMT+9 +dracut_install /usr/share/zoneinfo/posix/Etc/GMT-9 +dracut_install /usr/share/zoneinfo/posix/Etc/GMT+5 +dracut_install /usr/share/zoneinfo/posix/Etc/GMT0 +dracut_install /usr/share/zoneinfo/posix/Etc/GMT-10 +dracut_install /usr/share/zoneinfo/posix/Etc/GMT+0 +dracut_install /usr/share/zoneinfo/posix/Etc/Universal +dracut_install /usr/share/zoneinfo/posix/Etc/GMT+12 +dracut_install /usr/share/zoneinfo/posix/Etc/GMT-5 +dracut_install /usr/share/zoneinfo/posix/Etc/GMT+2 +dracut_install /usr/share/zoneinfo/posix/Etc/UTC +dracut_install /usr/share/zoneinfo/posix/Etc/GMT+8 +dracut_install /usr/share/zoneinfo/posix/Etc/GMT-11 +dracut_install /usr/share/zoneinfo/posix/Etc/GMT-4 +dracut_install /usr/share/zoneinfo/posix/Etc/GMT-12 +dracut_install /usr/share/zoneinfo/posix/Etc/GMT+11 +dracut_install /usr/share/zoneinfo/posix/Etc/GMT+3 +dracut_install /usr/share/zoneinfo/posix/Etc/GMT+4 +dracut_install /usr/share/zoneinfo/posix/Etc/GMT+1 +dracut_install /usr/share/zoneinfo/posix/Etc/GMT-14 +dracut_install /usr/share/zoneinfo/posix/Etc/UCT +dracut_install /usr/share/zoneinfo/posix/Etc/GMT+7 +dracut_install /usr/share/zoneinfo/posix/Etc/GMT-6 +dracut_install /usr/share/zoneinfo/posix/Etc/GMT-2 +dracut_install /usr/share/zoneinfo/posix/Etc/GMT +dracut_install /usr/share/zoneinfo/posix/Etc/GMT-3 +dracut_install /usr/share/zoneinfo/posix/Etc/GMT-8 +dracut_install /usr/share/zoneinfo/posix/Etc/GMT-7 +dracut_install /usr/share/zoneinfo/posix/Etc/GMT-13 +dracut_install /usr/share/zoneinfo/posix/Etc/GMT-1 +dracut_install /usr/share/zoneinfo/posix/Etc/GMT+10 +dracut_install /usr/share/zoneinfo/posix/PST8PDT +dracut_install /usr/share/zoneinfo/posix/Jamaica +dracut_install /usr/share/zoneinfo/posix/NZ +dracut_install /usr/share/zoneinfo/posix/PRC +dracut_install /usr/share/zoneinfo/posix/Chile/EasterIsland +dracut_install /usr/share/zoneinfo/posix/Chile/Continental +dracut_install /usr/share/zoneinfo/posix/Factory inst "$moddir/xcatroot" "/sbin/xcatroot" inst "$moddir/dodiscovery" "/bin/dodiscovery" inst "$moddir/udpcat.awk" "/bin/udpcat.awk" inst "$moddir/minixcatd.awk" "/bin/minixcatd.awk" inst "$moddir/bmcsetup" "/bin/bmcsetup" inst "$moddir/dhclient-script" "/sbin/dhclient-script" +inst "/bin/bash" "/bin/sh" inst "/lib64/libnss_dns-2.12.so" inst "/root/.ssh/id_rsa.pub" "/.ssh/authorized_keys" inst "/lib/terminfo/l/linux" "/lib/terminfo/l/linux" diff --git a/xCAT-nbroot2/installkernel b/xCAT-nbroot2/installkernel index 31fc458ee..a200f3e1f 100755 --- a/xCAT-nbroot2/installkernel +++ b/xCAT-nbroot2/installkernel @@ -1,4 +1,4 @@ #!/bin/bash instmods nfs sunrpc instmods e1000 e1000e virtio_net igb ines mlx4_en cxgb3 cxgb4 bnx2 bnx2x bna ixgb qlge mpt2sas ata_piix megaraid_sas virtio_blk ahci ibmaem xhci-hcd sd_mod pmcraid be2net ext3 ext4 btrfs reiserfs usb_storage scsi_wait_scan kvm kvm-intel kvm-amd ipmi_si ipmi_devintf -instmods macvlan macvtap 8021q bridge bonding vmxnet3 acpi-cpufreq powernow-k8 +instmods macvlan macvtap 8021q bridge bonding vmxnet3 acpi-cpufreq powernow-k8 cdc_ether diff --git a/xCAT-nbroot2/xcat-cmdline.sh b/xCAT-nbroot2/xcat-cmdline.sh index d88b87070..782dde4e7 100755 --- a/xCAT-nbroot2/xcat-cmdline.sh +++ b/xCAT-nbroot2/xcat-cmdline.sh @@ -6,7 +6,9 @@ echo '[ -e $NEWROOT/proc ]' > /initqueue-finished/xcatroot.sh udevd --daemon udevadm trigger mkdir -p /var/lib/dhclient/ +mkdir -p /var/log ip link set lo up +echo '127.0.0.1 localhost' >> /etc/hosts if [ ! -z "$BOOTIF" ]; then BOOTIF=`echo $BOOTIF|sed -e s/01-// -e s/-/:/g` echo -n "Waiting for device with address $BOOTIF to appear.." @@ -36,7 +38,7 @@ if [ -r /sys/devices/virtual/dmi/id/product_uuid ]; then duid=$duid'";' echo $duid > /var/lib/dhclient/dhclient6.leases fi -#/bin/dash +#/bin/sh mkdir -p /etc/ssh mkdir -p /var/empty/sshd echo root:x:0:0::/:/bin/sh >> /etc/passwd @@ -45,8 +47,8 @@ ssh-keygen -q -t rsa -f /etc/ssh/ssh_host_rsa_key -C '' -N '' ssh-keygen -q -t dsa -f /etc/ssh/ssh_host_dsa_key -C '' -N '' echo 'Protocol 2' >> /etc/ssh/sshd_config /usr/sbin/sshd -dhclient $bootnic & -dhclient -6 $bootnic -lf /var/lib/dhclient/dhclient6.leases & +dhclient -pf /var/run/dhclient.$bootnic.pid $bootnic & +dhclient -6 -pf /var/run/dhclient6.$bootnic.pid $bootnic -lf /var/lib/dhclient/dhclient6.leases & mkdir -p /etc/xcat mkdir -p /etc/pki/tls touch /etc/pki/tls/openssl.cnf @@ -86,7 +88,14 @@ while ! ip addr show dev $bootnic|grep -v 'scope link'|grep -v 'dynamic'|grep -v done echo -n "Acquired IPv4 address " ip addr show dev $bootnic|grep -v 'scope link'|grep -v 'dynamic'|grep -v inet6|grep inet|awk '{print $2}' +ntpd -g -x +(while ! ntpq -c "rv 0 state"|grep 'state=4' > /dev/null; do sleep 1; done; hwclock --systohc) & +modprobe cdc_ether +modprobe ipmi_si +modprobe ipmi_devintf +ip link set usb0 up +ip addr add dev usb0 169.254.95.120/16 if [ "$destiny" = "discover" ]; then #skip a query to xCAT when /proc/cmdline will do /bin/dodiscovery fi -/bin/dash +/bin/sh diff --git a/xCAT-nbroot2/xcatroot b/xCAT-nbroot2/xcatroot index b510baabb..fc506fb3b 100755 --- a/xCAT-nbroot2/xcatroot +++ b/xCAT-nbroot2/xcatroot @@ -4,5 +4,5 @@ NEWROOT=$3 XCATMASTER=$XCAT while : do - /bin/dash + /bin/sh done