Hi,
I am trying to get my kickstart file that worked under 5.1 to work under 5.2 centos x86_64. This is the error that I get. On the screen it says Exception occured and gives me the option to save it. This is that file.
I dont see any odd that would cause it to crash. Can anyone help. My kickstart file is in the mix below.
Seems to be related to network, my line seems fine (I think) for network.
Thanks,
Jerry ----------------------------- Traceback (most recent call first): File "/usr/lib/anaconda/network.py", line 341, in lookupHostname ret = isys.pumpNetDevice(dev.get('device'), dev.get('dhcpclass')) File "/usr/lib/anaconda/network.py", line 531, in write ip = self.lookupHostname() File "/tmp/treedir.1828/instimage/usr/lib/anaconda/yuminstall.py", line 1401, in doPreInstall anaconda.id.network.write(anaconda.rootPath) File "/tmp/treedir.1828/instimage/usr/lib/anaconda/backend.py", line 180, in doPreInstall anaconda.backend.doPreInstall(anaconda) File "/usr/lib/anaconda/dispatch.py", line 201, in moveStep rc = stepFunc(self.anaconda) File "/usr/lib/anaconda/dispatch.py", line 124, in gotoNext self.moveStep() File "/usr/lib/anaconda/gui.py", line 1018, in nextClicked self.anaconda.dispatch.gotoNext() File "/usr/lib/anaconda/iw/progress_gui.py", line 243, in renderCallback self.intf.icw.nextClicked() File "/usr/lib/anaconda/gui.py", line 1045, in handleRenderCallback self.currentWindow.renderCallback() AttributeError: 'module' object has no attribute 'pumpNetDevice'
Local variables in innermost frame: self: <network.Network instance at 0x2b2109c8b680> myns: 65.24.0.168 dev: DEVICE=eth0 BOOTPROTO=dhcp DHCPCLASS= HWADDR=00:13:D4:FA:EB:53 ONBOOT=yes
Anaconda instance, containing members: rootPath: /mnt/sysimage rescue_mount: True intf: InstallInterface instance, containing members: intf.ppw: InstallProgressWindow instance, containing members: intf.ppw.pixmaps: [rnotes/01-centos5-welcome.png, rnotes/02-centos5-donate.png, rnotes/03-centos5-yum.png, rnotes/04-centos5-repos.png, rnotes/05-centos5-centosplus.png, rnotes/06-centos5-support.png, rnotes/07-centos5-docs.png, rnotes/08-centos5-wiki.png, rnotes/09-centos5-virtualization.png] intf.ppw.intf: Already dumped intf.ppw.pixcurnum: 0 intf.ppw.sizeComplete: 0 intf.ppw.lastTimeEstimate: None intf.ppw.wrappedpixlist: 0 intf.ppw.filesComplete: 0 intf.ppw.pixtimer: None intf.ppw.initialTimeEstimate: None intf.ppw.adpix: <gtk.Image object (GtkImage) at 0xec6cd20> intf.ppw.adbox: <gtk.EventBox object (GtkEventBox) at 0xec6ce10> intf.ppw.curPackage: {'summary': <gtk.Label object (GtkLabel) at 0xfb1d0a0>, 'package': <gtk.Label object (GtkLabel) at 0xfb1d050>} intf.ppw.estimateHistory: [] intf.ppw.numComplete: 0 intf.ppw.pkgstatus: None intf.ppw.ics: InstallControlState instance, containing members: intf.ppw.ics.prevEnabled: False intf.ppw.ics.cw: InstallControlWindow instance, containing members: intf.ppw.ics.cw.handle: 150 intf.ppw.ics.cw.mainxml: <glade.XML object (PyGladeXML) at 0xec6c5a0> intf.ppw.ics.cw.reloadRcQueued: 0 intf.ppw.ics.cw.currentWindow: Already dumped intf.ppw.ics.cw.window: <gtk.Window object (GtkWindow) at 0xec6c550> intf.ppw.ics.cw.installFrame: <gtk.Frame object (GtkFrame) at 0xec6c690> intf.ppw.ics.cw.anaconda: Already dumped intf.ppw.ics.cw.rnv: ReleaseNotesViewer instance, containing members: intf.ppw.ics.cw.rnv.textWin: <gtk.Window object (GtkWindow) at 0xec6ef50> intf.ppw.ics.cw.rnv.vue: <gtkhtml2.View object (HtmlView) at 0x2b2109cc9f00> intf.ppw.ics.cw.rnv.currentURI: /mnt/source/RELEASE-NOTES-en_US.html intf.ppw.ics.cw.rnv.topDir: /mnt/source intf.ppw.ics.cw.rnv.doc: <gtkhtml2.Document object (HtmlDocument) at 0x2b2109cc9fa0> intf.ppw.ics.cw.rnv.height: 600 intf.ppw.ics.cw.rnv.width: 800 intf.ppw.ics.cw.rnv.opener: FancyURLopener instance, containing members: intf.ppw.ics.cw.rnv.opener._URLopener__unlink: <built-in function unlink> intf.ppw.ics.cw.rnv.opener._URLopener__tempfiles: [] intf.ppw.ics.cw.rnv.opener.cert_file: None intf.ppw.ics.cw.rnv.opener.addheaders: [('User-agent', 'Python-urllib/1.16')] intf.ppw.ics.cw.rnv.opener.tries: 0 intf.ppw.ics.cw.rnv.opener.ftpcache: {} intf.ppw.ics.cw.rnv.opener.tempcache: None intf.ppw.ics.cw.rnv.opener.auth_cache: {} intf.ppw.ics.cw.rnv.opener.key_file: None intf.ppw.ics.cw.rnv.opener.proxies: {} intf.ppw.ics.cw.rnv.opener.type: file intf.ppw.ics.cw.rnv.opener.maxtries: 10 intf.ppw.ics.cw.rnv.anaconda: Already dumped intf.ppw.ics.cw.rnv.htmlheader: <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body bgcolor="white"><pre> intf.ppw.ics.cw.rnv.htmlfooter: </pre></body></html> intf.ppw.ics.cw.rnv.is_showing: False intf.ppw.ics.nextEnabled: False intf.ppw.ics.grabNext: True intf.ppw.ics.title: Installing Packages intf.ppw.progress: <gtk.ProgressBar object (GtkProgressBar) at 0xec6ce60> intf.ppw.totalProgress: <gtk.ProgressBar object (GtkProgressBar) at 0xec6ceb0> intf.ppw.remainingTimeLabel: <gtk.Label object (GtkLabel) at 0xec6cfa0> intf.icw: Already dumped intf.runres: 800x600 intf.anaconda: Already dumped rescue: False updateSrc: None methodstr: cdrom://hdc:/mnt/source dispatch: Dispatcher instance, containing members: dispatch.step: 37 dispatch.skipSteps: {'upgrademigfind': 1, 'accounts': 1, 'keyboard': 2, 'timezone': 1, 'confirminstall': 1, 'bootloader': 2, 'addswap': 1, 'network': 1, 'upgrademigratefs': 1, 'parttype': 1, 'confirmupgrade': 1, 'welcome': 1, 'bootloaderadvanced': 2, 'tasksel': 1, 'betanag': 2, 'upgbootloader': 2, 'upgrademount': 1, 'upgradecontinue': 1, 'findrootparts': 1, 'findinstall': 1, 'language': 2, 'upgradeswapsuggestion': 1, 'partition': 1, 'group-selection': 1, 'regkey': 1} dispatch.firstStep: 0 dispatch.method: CdromInstallMethod instance, containing members: dispatch.method.messageWindow: <bound method InstallInterface.messageWindow of <gui.InstallInterface instance at 0x2b2104c91a70>> dispatch.method.splitmethod: True dispatch.method.intf: Already dumped dispatch.method.isoPath: /mnt/source dispatch.method.timestamp: 1214240246.285059 dispatch.method.tree: /mnt/source dispatch.method.rootPath: /mnt/sysimage dispatch.method.waitWindow: <bound method InstallInterface.waitWindow of <gui.InstallInterface instance at 0x2b2104c91a70>> dispatch.method.loopbackFile: /mnt/sysimage/home/rhinstall-stage2.img dispatch.method.progressWindow: <bound method InstallInterface.progressWindow of <gui.InstallInterface instance at 0x2b2104c91a70>> dispatch.method.device: hdc dispatch.method.currentMedia: [1, 2, 3, 4, 5, 6, 7] dispatch.anaconda: Already dumped method: Already dumped isKickstart: True id: InstallData instance, containing members: id.dbpath: None id.firewall: Firewall instance, containing members: id.firewall.portlist: [22:tcp, 80:tcp, 443:tcp, 22:tcp, 25:tcp] id.firewall.trustdevs: [] id.firewall.enabled: True id.anaconda: Already dumped id.upgradeDeps: id.upgradeRoot: None id.xsetup: XSetup instance, containing members: id.xsetup.skipx: 0 id.xsetup.imposed_sane_default: 0 id.xsetup.xserver: XServer instance, containing members: id.xsetup.xserver.videohw: primary: 0 vidCards: [<rhpxl.videocard.VideoCard instance at 0x2b21015c8a70>] Primary Video Card Info: device: None driver : vesa descr : nVidia Corporation GeForce 7100 GS vidRam: None
id.xsetup.xserver.serverflags: [vt6, -config, /tmp/XConfig.test, -extension, Composite, -s, 1440, -dpms, -v, -ac, -nolisten, tcp, -fp, /usr/share/X11/fonts/misc, -screen, Anaconda, -br] id.xsetup.xserver.resolution: 800x600 id.xsetup.xserver.root: / id.xsetup.xserver.hwstate: XF86HardwareState instance, containing members: id.xsetup.xserver.hwstate.videocard_PCIFn: None id.xsetup.xserver.hwstate.monitor: monName: None monID: Unprobed Monitor monHoriz: None monVert: None physicalWidth: 0 physicalHeight: 0
id.xsetup.xserver.hwstate.config_resolutions: [] id.xsetup.xserver.hwstate.videocard_name: nVidia Corporation GeForce 7100 GS id.xsetup.xserver.hwstate.monitor_name: Unknown monitor id.xsetup.xserver.hwstate.video_ram: 0 id.xsetup.xserver.hwstate.videocard: Already dumped id.xsetup.xserver.hwstate.videocard_driver: vesa id.xsetup.xserver.hwstate.videocard_options: [] id.xsetup.xserver.hwstate.all_resolutions: [640x480, 800x480, 800x512, 800x600, 1024x600, 1024x768, 1152x768, 1152x864, 1280x800, 1280x960, 1280x1024, 1400x1050, 1440x900, 1600x1024, 1600x1200, 1680x1050, 1900x1200, 1920x1200, 1920x1440, 2048x1536] id.xsetup.xserver.hwstate.hsync: 31.5-37.9 id.xsetup.xserver.hwstate.vsync: 50-70 id.xsetup.xserver.hwstate.probed_video_ram: 0 id.xsetup.xserver.hwstate.videocard_PCIBus: None id.xsetup.xserver.hwstate.colordepth: 24 id.xsetup.xserver.hwstate.videocard_PCIDev: None id.xsetup.xserver.hwstate.resolution: 800x600 id.xsetup.xserver.hwstate.dri_enabled: 0 id.xsetup.xserver.hwstate.xconfig: None id.xsetup.xserver.monitorhw: Already dumped id.xsetup.xserver.keyboard: Keyboard instance, containing members: id.xsetup.xserver.keyboard.info: {'KEYBOARDTYPE': pc, 'KEYTABLE': us} id.xsetup.xserver.keyboard.type: PC id.xsetup.xserver.keyboard.beenset: 1 id.xsetup.xserver.keyboard._mods: KeyboardModels instance, containing members: id.xsetup.xserver.mousehw: FULLNAME="Generic - 3 Button Mouse (PS/2)" MOUSETYPE="imps2" XEMU3="no" XMOUSETYPE="IMPS/2"
id.xsetup.xserver.defaultdepth: 24 id.xsetup.xserver.logfile: /tmp/ramfs/X.log id.xsetup.xserver.config: <XF86Config object at 0x2b20f8b86600> id.xsetup.xserver.display: :1 id.keyboard: Already dumped id.timezone: Timezone instance, containing members: id.timezone.utc: True id.timezone.utcOffset: 0 id.timezone.arc: 0 id.timezone.tz: America/Indiana/Indianapolis id.timezone.dst: 0 id.mouse: Already dumped id.backend: YumBackend instance, containing members: id.backend.modeText: Installing %s
id.backend.instPath: /mnt/sysimage id.backend.totalSize: 2685748 id.backend.instLog: <open file '/mnt/sysimage/root/install.log', mode 'w+' at 0xdf83300> id.backend._installedDriverModules: [] id.backend.method: Already dumped id.backend.totalFiles: 146916 id.upgrade: None id.monitor: Already dumped id.iscsi: <iscsi.iscsi object at 0x2b2109c99650> id.methodstr: cdrom://hdc:/mnt/source id.fsset: FileSystemSet instance, containing members: id.fsset.messageWindow: <bound method InstallInterface.messageWindow of <gui.InstallInterface instance at 0x2b2104c91a70>> id.fsset.volumesCreated: 1 id.fsset.progressWindow: <bound method InstallInterface.progressWindow of <gui.InstallInterface instance at 0x2b2104c91a70>> id.fsset.migratedfs: 1 id.fsset.waitWindow: <bound method InstallInterface.waitWindow of <gui.InstallInterface instance at 0x2b2104c91a70>> id.fsset.entries: [fsentry -- device: sda1 mountpoint: / fsystem: ext3 format: True ismounted: 1 options: 'defaults' bytesPerInode: 4096 label: /
, fsentry -- device: sda3 mountpoint: /home fsystem: ext3 format: True ismounted: 1 options: 'defaults' bytesPerInode: 4096 label: /home
, fsentry -- device: shm mountpoint: /dev/shm fsystem: tmpfs format: 0 ismounted: 0 options: 'defaults' bytesPerInode: 4096 label: None
, fsentry -- device: devpts mountpoint: /dev/pts fsystem: devpts format: 0 ismounted: 0 options: 'gid=5,mode=620' bytesPerInode: 4096 label: None
, fsentry -- device: sys mountpoint: /sys fsystem: sysfs format: 0 ismounted: 1 options: 'defaults' bytesPerInode: 4096 label: None
, fsentry -- device: proc mountpoint: /proc fsystem: proc format: 0 ismounted: 1 options: 'defaults' bytesPerInode: 4096 label: None
, fsentry -- device: sda2 mountpoint: swap fsystem: swap format: True ismounted: 1 options: 'defaults' bytesPerInode: 4096 label: SWAP-sda2
] id.fsset.anaconda: Already dumped id.fsset.mountcount: 5 id.desktop: Desktop instance, containing members: id.desktop.info: {'DESKTOP': } id.desktop.runlevel: 5 id.rootParts: None id.x_already_set: 0 id.upgradeRemove: [] id.partitions: Partitions instance, containing members: id.partitions.useFdisk: 0 id.partitions.useAutopartitioning: 1 id.partitions.autoClearPartType: 1 id.partitions.nextUniqueID: 5 id.partitions.reinitializeDisks: True id.partitions.autoClearPartDrives: [] id.partitions.zeroMbr: 1 id.partitions.isKickstart: 0 id.partitions.requests: [New Part Request -- mountpoint: / uniqueID: 2 type: ext3 format: True badblocks: None device: sda1 drive: ['sda'] primary: True size: 20000 grow: 0 maxsize: None start: None end: None migrate: None fslabel: origfstype: None bytesPerInode: 4096 options: 'None' , PreexistingPartitionSpec instance, containing members: currentDrive: None migrate: None origfstype: None primary: None dev: None uniqueID: 1 mountpoint: None requestSize: 305245.335938 size: 305245.335938 end: 625142447 grow: 0 start: 0 ignoreBootConstraints: 0 type: 1 badblocks: None format: None fsopts: None fstype: None preexist: 1 device: sda-1 maxSizeMB: None bytesPerInode: 4096 drive: sda fslabel: None protected: 0 multidrive: None , New Part Request -- mountpoint: uniqueID: 3 type: swap format: True badblocks: None device: sda2 drive: ['sda'] primary: True size: 4000 grow: 0 maxsize: None start: None end: None migrate: None fslabel: origfstype: None bytesPerInode: 4096 options: 'None' , New Part Request -- mountpoint: /home uniqueID: 4 type: ext3 format: True badblocks: None device: sda3 drive: ['sda'] primary: True size: 1 grow: True maxsize: None start: None end: None migrate: None fslabel: origfstype: None bytesPerInode: 4096 options: 'None' ] id.partitions.autoPartitionRequests: [New Part Request -- mountpoint: / uniqueID: None type: ext3 format: True badblocks: None device: None drive: ['sda'] primary: True size: 20000 grow: 0 maxsize: None start: None end: None migrate: None fslabel: origfstype: None bytesPerInode: 4096 options: 'None' , New Part Request -- mountpoint: uniqueID: None type: swap format: True badblocks: None device: None drive: ['sda'] primary: True size: 4000 grow: 0 maxsize: None start: None end: None migrate: None fslabel: origfstype: None bytesPerInode: 4096 options: 'None' , New Part Request -- mountpoint: /home uniqueID: None type: ext3 format: True badblocks: None device: None drive: ['sda'] primary: True size: 1 grow: True maxsize: None start: None end: None migrate: None fslabel: origfstype: None bytesPerInode: 4096 options: 'None' ] id.partitions.deletes: [] id.firstboot: 1 id.diskset: DiskSet instance, containing members: id.diskset.initializedDisks: {'sda': True} id.diskset.disks: {'sda': <PedDisk object at 0x2b20f8b87310>} id.diskset.anaconda: Already dumped id.diskset.onlyPrimary: None id.upgradeInfoFound: None id.zfcp: ZFCP instance, containing members: id.zfcp.hasReadConfig: True id.zfcp.fcpdevs: [] id.displayMode: g id.excludeDocs: 0 id.auth: --enableshadow --enablemd5 id.instProgress: Already dumped id.dependencies: [] id.ksdata: KickstartData instance, containing members: id.ksdata.raidList: [] id.ksdata.firewall: {'enabled': True, 'ports': ['80:tcp', '443:tcp', '22:tcp', '25:tcp'], 'trusts': []} id.ksdata.selinux: 0 id.ksdata.keyboard: us id.ksdata.reboot: {'action': 0, 'eject': False} id.ksdata.services: {'disabled': [], 'enabled': []} id.ksdata.handleMissing: 0 id.ksdata.firstboot: 1 id.ksdata.timezone: {'timezone': America/Indiana/Indianapolis, 'isUtc': True} id.ksdata.skipx: False id.ksdata.groupList: [development-libs, editors, x-software-development, gnome-desktop, dialup, core, base, ftp-server, legacy-software-development, base-x, web-server, smb-server, printing, mail-server, sound-and-video, development-tools, graphical-internet] id.ksdata.upgrade: False id.ksdata.monitor: {'probe': True, 'hsync': , 'monitor': , 'vsync': } id.ksdata.autopart: False id.ksdata.deviceprobe: id.ksdata.iscsi: [] id.ksdata.clearpart: {'type': 1, 'initAll': True, 'drives': []} id.ksdata.platform: id.ksdata.iscsiname: id.ksdata.mpaths: [] id.ksdata.zerombr: True id.ksdata.partitions: [KickstartPartData instance, containing members: size: 20000 disk: sda end: 0 bytesPerInode: 4096 format: True onbiosdisk: fsopts: fstype: ext3 start: 0 maxSizeMB: 0 onPart: active: False mountpoint: / label: grow: False primOnly: True recommended: False , KickstartPartData instance, containing members: size: 4000 disk: sda end: 0 bytesPerInode: 4096 format: True onbiosdisk: fsopts: fstype: start: 0 maxSizeMB: 0 onPart: active: False mountpoint: label: grow: False primOnly: True recommended: False , KickstartPartData instance, containing members: size: 1 disk: sda end: 0 bytesPerInode: 4096 format: True onbiosdisk: fsopts: fstype: ext3 start: 0 maxSizeMB: 0 onPart: active: False mountpoint: /home label: grow: True primOnly: True recommended: False ] id.ksdata.method: {'method': cdrom} id.ksdata.mediacheck: False id.ksdata.lvList: [] id.ksdata.vgList: [] id.ksdata.zfcp: [] id.ksdata.excludeDocs: False id.ksdata.displayMode: 1 id.ksdata.excludedList: [sysreport] id.ksdata.autostep: {'autoscreenshot': False} id.ksdata.authconfig: --enableshadow --enablemd5 id.ksdata.driverdisk: id.ksdata.key: id.ksdata.scripts: [AnacondaKSScript instance, containing members: script: #!/bin/sh ## generic script to pick hda, sda, or RAID 1 HD1="/dev/sda" HD1SHORT="sda" HD2="/dev/sdb" HD2SHORT="sdb" if [ -e /proc/ide/hda/media ] then if [ "`cat /proc/ide/hda/media`" = "disk" ] then HD1="/dev/hda" HD1SHORT="hda" HD2="/dev/hdb" HD2SHORT="hdb" fi fi
## Determine size of harddisk HD1SIZE=`fdisk -l $HD1 | grep Disk | cut -f 3 -d ' ' | cut -f 1 -d '.'` if [ $HD1SIZE -eq 8 ] then ROOTSIZE=7000 SWAPSIZE=1000 SWAPGROW="--grow" HOMEGROW="" elif [ $HD1SIZE -le 20 ] then ROOTSIZE=10000 SWAPSIZE=1000 SWAPGROW="" HOMEGROW="--grow" else ROOTSIZE=20000 SWAPSIZE=4000 SWAPGROW="" HOMEGROW="--grow" fi
##Â Save partitioning information into file so include section can grab it. echo "bootloader --location=mbr --driveorder=$HD1SHORT --append="rhgb quiet" " > /tmp/partition-information echo "clearpart --all --initlabel " >> /tmp/partition-information echo "part / --ondisk=$HD1SHORT --fstype ext3 --size=$ROOTSIZE --asprimary " >> /tmp/partition-information echo "part swap --ondisk=$HD1SHORT --size=$SWAPSIZE --asprimary $SWAPGROW " >> /tmp/partition-information if [ "$HOMEGROW" = "--grow" ] then echo "part /home --ondisk=$HD1SHORT --fstype ext3 --size=1 --asprimary $HOMEGROW " >> /tmp/partition-information fi
interp: /bin/sh errorOnFail: False inChroot: False logfile: None type: 0 , AnacondaKSScript instance, containing members: script: # Install is complete show the post progress. init 3 chvt 3
# Echo the type of install we are doing cat /proc/cmdline > /tmp/MN_server
echo "Change RunLevel boot console mode..." sed -i s'/id:5:/id:3:/'g /etc/inittab
echo "Setting up nameserver" echo nameserver 65.24.0.168 > /etc/resolv.conf echo nameserver 65.24.0.169 >> /etc/resolv.conf service network restart
# Make directory for mounting mkdir /mnt/silentmhome
rpm -e --nodeps festival rpm -e --nodeps mgetty-sendfax
#echo "Full yum Update" #yum -y update echo "Short yum Update" yum -y update kernel* yum -y update tzdata* openssh* httpd*
yum -y install vnc yum -y install tftp yum -y install tftp-server yum -y install sendmail-cf yum -y install dhcp yum -y install ncurses-devel yum -y install compat-openldap yum -y install libxml2 yum -y install libxml2-devel yum -y install lsscsi yum -y install alsa-lib-devel yum -y install alsa-lib-devel.i386
# Need the 32-bit development libraries for libasound yum -y install glibc-devel.i386
yum clean all
service yum-updatesd stop chkconfig yum-updatesd off
service haldaemon stop chkconfig haldaemon off
# Make NFS available service portmap start
# Mount the server for setup (parse the /proc/cmdline for ks=http://IP) SERVERIP=`cat /proc/cmdline | tr ' ' '\n' | grep ks=http | tr '/' ' ' | awk {' print $2'} ` echo mount -t nfs $SERVERIP:/home/silentm /mnt/silentmhome mount -t nfs $SERVERIP:/home/silentm /mnt/silentmhome
# Install preparation (Create directory and script files) cd /mnt/silentmhome/multimedia_controller . ./functions.sh cp -af *.sh $MN_INSTALL_TREE
# Install nVidia cd /mnt/silentmhome/multimedia_controller/NVIDIA ./mn_install.sh
## Install alsa-project before MessageNet #cd /mnt/silentmhome/multimedia_controller/alsa-project #./mn_install.sh
# Install asterisk before MessageNet cd /mnt/silentmhome/multimedia_controller/digium ./mn_install.sh
# Install vlc cd /mnt/silentmhome/multimedia_controller/vlc ./mn_install.sh
# Install MPlayer cd /mnt/silentmhome/multimedia_controller/MPlayer ./mn_install.sh
# Install cepstral before MessageNet cd /mnt/silentmhome/cepstral ./mn_install.sh
# Install the latest version cd /mnt/silentmhome/Versions ./mn_install.sh
# Set path location source /etc/profile
## Setup RAID arrays for booting #/home/silentm/bin/smset_raidboot.sh
# Setup Mediaport #/home/silentm/bin/smclient.sh -multimediapc
PROC_CMD_LINE_MN_KICKSTART=`grep -c "mn_demobox" /proc/cmdline` if [ "$PROC_CMD_LINE_MN_KICKSTART" = "1" ] then /home/silentm/bin/smfunctions -set_node_name demobox echo demobox | passwd --stdin else # Default this machine to the MAC address NODE=`/home/silentm/bin/smfunctions -eth0mac ` /home/silentm/bin/smfunctions -set_node_name $NODE fi
# Setup Siemens mode PROC_CMD_LINE_MN_KICKSTART=`grep -c "mn_siemens" /proc/cmdline` if [ "$PROC_CMD_LINE_MN_KICKSTART" = "1" ] then echo Siemens > /etc/silentm/siemens fi
# Umount NFS cd / umount /mnt/silentmhome
echo "" echo "Kickstart installation complete - reboot"
interp: /bin/sh errorOnFail: False inChroot: True logfile: None type: 1 ] id.ksdata.device: id.ksdata.network: [KickstartNetworkData instance, containing members: ethtool: onboot: True wepkey: notksdevice: False ip: hostname: MessageNet.msgnet.com mtu: netmask: bootProto: dhcp essid: ipv6: True device: eth0 nameserver: dhcpclass: nodns: False gateway: ipv4: True ] id.ksdata.lang: en_US.UTF-8 id.ksdata.packageList: [mesa-libGLU-devel, device-mapper-multipath, xorg-x11-server-Xnest, xorg-x11-server-Xvfb, imake] id.ksdata.logging: {'host': , 'port': , 'level': info} id.ksdata.xconfig: {'startX': True, 'videoRam': , 'driver': , 'depth': 0, 'defaultdesktop': , 'resolution': } id.ksdata.userList: [] id.ksdata.ignoredisk: [] id.ksdata.addBase: True id.ksdata.repoList: [] id.ksdata.dmraids: [] id.ksdata.interactive: False id.users: None id.bootloader: x86BootloaderInfo instance, containing members: id.bootloader.doUpgradeOnly: 0 id.bootloader.above1024: 1 id.bootloader.defaultDevice: mbr id.bootloader.pure: None id.bootloader.args: KernelArguments instance, containing members: id.bootloader.args.args: rhgb quiet id.bootloader.kernelLocation: /boot/ id.bootloader.device: sda id.bootloader.configfile: /etc/lilo.conf id.bootloader.kickstart: 0 id.bootloader.serialOptions: None id.bootloader.useGrubVal: 1 id.bootloader.serialDevice: None id.bootloader.images: BootImages instance, containing members: id.bootloader.images.default: sda1 id.bootloader.images.images: {'sda1': ('linux', 'CentOS', 'ext3')} id.bootloader.drivelist: [sda] id.bootloader.serial: 0 id.bootloader.password: None id.bootloader.forceLBA32: False id.extraModules: [] id.network: Network instance, containing members: id.network.hostname: MessageNet.msgnet.com id.network.overrideDHCPhostname: 1 id.network.netdevices: {'eth0': DEVICE=eth0 BOOTPROTO=dhcp DHCPCLASS= HWADDR=00:13:D4:FA:EB:53 ONBOOT=yes
} id.network.primaryNS: 65.24.0.168 id.network.firstnetdevice: eth0 id.network.isConfigured: 0 id.network.domains: [] id.network.secondaryNS: id.network.gateway: id.instClass: Kickstart instance, containing members: id.instClass.ksparser: AnacondaKSParser instance, containing members: id.instClass.ksparser.script: {'body': ['# Install is complete show the post progress.\n', 'init 3\n', 'chvt 3\n', '\n', '# Echo the type of install we are doing\n', 'cat /proc/cmdline > /tmp/MN_server\n', '\n', 'echo "Change RunLevel boot console mode..."\n', "sed -i s'/id:5:/id:3:/'g /etc/inittab\n", '\n', 'echo "Setting up nameserver"\n', 'echo nameserver 65.24.0.168 > /etc/resolv.conf\n', 'echo nameserver 65.24.0.169 >> /etc/resolv.conf\n', 'service network restart\n', '\n', '# Make directory for mounting\n', 'mkdir /mnt/silentmhome\n', '\n', 'rpm -e --nodeps festival\n', 'rpm -e --nodeps mgetty-sendfax\n', '\n', '#echo "Full yum Update"\n', '#yum -y update\n', 'echo "Short yum Update"\n', 'yum -y update kernel* \n', 'yum -y update tzdata* openssh* httpd*\n', '\n', 'yum -y install vnc\n', 'yum -y install tftp\n', 'yum -y install tftp-server\n', 'yum -y install sendmail-cf\n', 'yum -y install dhcp\n', 'yum -y install ncurses-devel\n', 'yum -y install compat-openldap\n', 'yum -y install libxml2\n', 'yum -y install libxml2-devel\n', 'yum -y install lsscsi\n', 'yum -y install alsa-lib-devel\n', 'yum -y install alsa-lib-devel.i386\n', '\n', '# Need the 32-bit development libraries for libasound\n', 'yum -y install glibc-devel.i386\n', '\n', 'yum clean all\n', '\n', 'service yum-updatesd stop\n', 'chkconfig yum-updatesd off\n', '\n', 'service haldaemon stop\n', 'chkconfig haldaemon off\n', '\n', '# Make NFS available\n', 'service portmap start\n', '\n', '# Mount the server for setup (parse the /proc/cmdline for ks=http://IP)%5Cn', "SERVERIP=`cat /proc/cmdline | tr ' ' '\n' | grep ks=http | tr '/' ' ' | awk {' print $2'} `\n", 'echo mount -t nfs $SERVERIP:/home/silentm /mnt/silentmhome\n', 'mount -t nfs $SERVERIP:/home/silentm /mnt/silentmhome\n', '\n', '# Install preparation (Create directory and script files)\n', 'cd /mnt/silentmhome/multimedia_controller\n', '. ./functions.sh\n', 'cp -af *.sh $MN_INSTALL_TREE\n', '\n', '# Install nVidia\n', 'cd /mnt/silentmhome/multimedia_controller/NVIDIA\n', './mn_install.sh\n', '\n', '## Install alsa-project before MessageNet\n', '#cd /mnt/silentmhome/multimedia_controller/alsa-project\n', '#./mn_install.sh\n', '\n', '# Install asterisk before MessageNet\n', 'cd /mnt/silentmhome/multimedia_controller/digium\n', './mn_install.sh\n', '\n', '# Install vlc\n', 'cd /mnt/silentmhome/multimedia_controller/vlc\n', './mn_install.sh\n', '\n', '# Install MPlayer\n', 'cd /mnt/silentmhome/multimedia_controller/MPlayer\n', './mn_install.sh\n', '\n', '# Install cepstral before MessageNet\n', 'cd /mnt/silentmhome/cepstral\n', './mn_install.sh\n', '\n', '# Install the latest version\n', 'cd /mnt/silentmhome/Versions\n', './mn_install.sh\n', '\n', '# Set path location\n', 'source /etc/profile\n', '\n', '## Setup RAID arrays for booting\n', '#/home/silentm/bin/smset_raidboot.sh\n', '\n', '# Setup Mediaport\n', '#/home/silentm/bin/smclient.sh -multimediapc \n', '\n', 'PROC_CMD_LINE_MN_KICKSTART=`grep -c "mn_demobox" /proc/cmdline`\n', 'if [ "$PROC_CMD_LINE_MN_KICKSTART" = "1" ]\n', 'then\n', '\t/home/silentm/bin/smfunctions -set_node_name demobox\n', '\techo demobox | passwd --stdin\n', 'else\n', '\t# Default this machine to the MAC address\n', '\tNODE=`/home/silentm/bin/smfunctions -eth0mac `\n', '\t/home/silentm/bin/smfunctions -set_node_name $NODE\n', 'fi\n', '\n', '# Setup Siemens mode\n', 'PROC_CMD_LINE_MN_KICKSTART=`grep -c "mn_siemens" /proc/cmdline`\n', 'if [ "$PROC_CMD_LINE_MN_KICKSTART" = "1" ]\n', 'then\n', '\techo Siemens > /etc/silentm/siemens\n', 'fi\n', '\n', '# Umount NFS\n', 'cd /\n', 'umount /mnt/silentmhome\n', '\n', 'echo ""\n', 'echo "Kickstart installation complete - reboot"\n'], 'chroot': True, 'log': None, 'interp': /bin/sh, 'errorOnFail': False, 'type': 1} id.instClass.ksparser.errorsAreFatal: True id.instClass.ksparser.state: 0 id.instClass.ksparser.includeDepth: 0 id.instClass.ksparser.followIncludes: True id.instClass.ksparser.ksdata: Already dumped id.instClass.ksparser.missingIncludeIsFatal: True id.instClass.ksparser.sawPackageSection: True id.instClass.earlySwapOn: 1 id.instClass.repopaths: {'base': CentOS} id.instClass.ksdata: Already dumped id.instClass.file: /tmp/ks.cfg id.instClass.anaconda: Already dumped id.instClass.serial: False id.instClass.id: Already dumped id.floppyDevice: fd0 id.isHeadless: 0 id.videocard: Already dumped id.instLanguage: Language instance, containing members: id.instLanguage.targetLang: None id.instLanguage.default: en_US.UTF-8 id.instLanguage.displayMode: g id.instLanguage.current: en_US.UTF-8 id.security: Security instance, containing members: id.security.selinux: 0 id.upgradeSwapInfo: None dir: 1 backend: Already dumped