Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 154998 Details for
Bug 240554
lvcreate failed for swap volume in installer
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Kickstart file
kickstart.cfg (text/plain), 6.20 KB, created by
Jason Edgecombe
on 2007-05-18 13:14:05 UTC
(
hide
)
Description:
Kickstart file
Filename:
MIME Type:
Creator:
Jason Edgecombe
Created:
2007-05-18 13:14:05 UTC
Size:
6.20 KB
patch
obsolete
># Kickstart file automatically generated by anaconda. > >install >nfs --server=admin1.uncc.edu --dir=/kickstart/rhel5/i386/distro > >repo --name=atrpms --baseurl=file:///mnt/nfs/i386/extra/atrpms >repo --name=mosaic --baseurl=file:///mnt/nfs/i386/extra/mosaic >repo --name=updates --baseurl=file:///mnt/nfs/i386/extra/updates >repo --name=supplemental --baseurl=file:///mnt/nfs/i386/extra/supplemental > >key fa0c-1c86-fa40-5c1d > >lang en_US.UTF-8 >keyboard us >#xconfig --driver "vesa" --resolution 800x600 --depth 16 --startxonboot >#xconfig --driver "vesa" --resolution 800x600 --depth 16 >#xconfig --driver="vesa" --resolution 1280x1024 --depth 24 >xconfig >#skipx > >network --device eth0 --bootproto dhcp >rootpw --iscrypted ****DELETED**** >firewall --enabled --port=22:tcp >authconfig --enableshadow --enablemd5 >selinux --enforcing >timezone --utc America/New_York > >#%include /tmp/part-include > >reboot > >%pre >mkdir -p /mnt/nfs >mount -n -w -o nolock,tcp,rsize=32768,wsize=32768 admin1:/kickstart/rhel5/ /mnt/nfs > >#----- partitioning logic below-------------- ># pick the first drive that is not removable and is over MINSIZE >DIR="/sys/block" > ># minimum size of hard drive needed specified in GIGABYTES >MINSIZE=23 > >ROOTDRIVE="" > ># /sys/block/*/size is in 512 byte chunks > >for DEV in sda sdb hda hdb; do > if [ -d $DIR/$DEV ]; then > REMOVABLE=`cat $DIR/$DEV/removable` > if (( $REMOVABLE == 0 )); then > echo $DEV > SIZE=`cat $DIR/$DEV/size` > GB=$(($SIZE/2**21)) > if [ $GB -gt $MINSIZE ]; then > echo "$(($SIZE/2**21))" > if [ -z $ROOTDRIVE ]; then > ROOTDRIVE=$DEV > fi > fi > fi > fi >done > >echo "ROOTDRIVE=$ROOTDRIVE" > >cat << EOF >> /tmp/part-include >bootloader --location=mbr --driveorder=$ROOTDRIVE >clearpart --all --drives=$ROOTDRIVE --initlabel >part /boot --fstype ext3 --size=300 --ondisk=$ROOTDRIVE >part pv.4 --size=0 --grow --ondisk=$ROOTDRIVE >volgroup VolGroup00 --pesize=32768 pv.4 >logvol swap --fstype swap --name=swap0 --vgname=VolGroup00 --size=1024 --grow --maxsize=2048 >logvol / --fstype ext3 --name=root --vgname=VolGroup00 --size=6000 --grow --maxsize=30720 >logvol /var/log --fstype ext3 --name=var-log --vgname=VolGroup00 --size=512 >logvol /tmp --fstype ext3 --name=tmp --vgname=VolGroup00 --size=1024 --maxsize=4096 >logvol /usr/vice/cache --fstype ext3 --name=usr-vice-cache --vgname=VolGroup00 --size=1024 >logvol /home --fstype ext3 --name=home --vgname=VolGroup00 --size=300 --grow >EOF > >%packages >@admin-tools >@base >@gnome-desktop >@kde-desktop > >@development-tools >@development-libs > ># needed for ATI driver >@legacy-software-development > >#@web-server >#@everything >gcc >make >gdm >system-config-display >createrepo > ># needed for openafs-client >binutils > >#needed for Matlab >libXp > ># needed for commercial apps >gtk+ >openmotif >openmotif22 >openmotif-devel > ># ruby >ruby >ruby-devel >ruby-docs >ruby-irb >ruby-libs >ruby-mode >ruby-rdoc >ruby-ri >ruby-tcltk > ># tex >jadetex >passivetex >tetex >tetex-afm >tetex-doc >tetex-dvips >tetex-fonts >tetex-latex >tetex-xdvi >texi2html >texinfo-tex >xmltex > >#evolution >evolution-data-server >evolution >evolution-connector >evolution-data-server-devel >evolution-devel >evolution-webcal > ># misc >gnuplot >rdesktop >tsclient >thunderbird > ># Special Request by Harish >kile > ># non-redhat stuff in the repos >openafs >openafs-authlibs >openafs-authlibs-devel >openafs-client >openafs-devel >openafs-doc >openafs-kmdl-2.6.18-8.el5 >openafs-kmdl-2.6.18-8.el5PAE >openafs-kmdl-2.6.18-8.el5xen >openafs-kmdl-2.6.18-8.1.1.el5PAE > >openafs-krb5 > >cfengine > >@admin-tools >@base >@gnome-desktop >@kde-desktop > >@development-tools >@development-libs > ># needed for ATI driver >@legacy-software-development > >#@web-server >#@everything >gcc >make >gdm >system-config-display >createrepo > >cfengine >openafs >openafs-authlibs >openafs-authlibs-devel >openafs-client >openafs-devel >openafs-doc >openafs-krb5 >yum-plugin-kmdl >yum-rhn-plugin >yum-updatesd > > >%post > >#!/bin/sh > ># switch to virtual terminal 3 where status messages are shown. >chvt 3 >echo "" >echo "" >echo "Begin %post section of kickstart install:" >echo "" >echo "" > >umask 022 > ># Mount build server >mkdir -p /mnt/nfs > ># nolock makes NFS work with kickstart (http://www.redhat.com/archives/kickstart-list/2001-December/msg00023.html) >mount -t nfs -o nolock admin1.uncc.edu:/kickstart/rhel5 /mnt/nfs && echo "mount nfs server" > >cp -fvdR --preserve=mode,links /mnt/nfs/config/etc/yum.conf.nfs /etc/ > >#============================ ># openafs kmdl install >kernels=`rpm -qf /boot/vmlinuz-* | grep -v "^file .* is not owned by any package >"` >uname_rs=`rpm -ql $kernels | grep ^/boot/vmlinuz- | sed -e's,^/boot/vmlinuz-\(.* >\)$,\1,'` > >yum="/usr/bin/yum -y -c /etc/yum.conf.nfs" > > echo === `date` kmdls > for kmdl in openafs-kmdl; do > for uname_r in $uname_rs; do > package=${kmdl}-$uname_r > echo $package > rpm -q $package > /dev/null || $yum install $package > done > done >#============================ > ># AFS client install >echo "Doing openafs configuration..." >echo uncc.edu > /usr/vice/etc/ThisCell >echo /afs:/usr/vice/cache:1024000 > /usr/vice/etc/cacheinfo >/sbin/depmod -a > ># Copy some files over >cp -fvdR --preserve=mode,links /mnt/nfs/config/* / && echo "copied config files" > >#copy the files for rebuilding >cp -vaf /mnt/nfs/i386/distro/isolinux/vmlinuz /boot/vmlinuz-rebuild && echo "copied vmlinuz-rebuild" >cp -vaf /mnt/nfs/i386/distro/isolinux/initrd.img /boot/initrd-rebuild && echo "copied initrd-rebuild" > ># Build grub.conf file >chmod 700 /usr/local/sbin/build_grub.conf >#/usr/local/sbin/build_grub.conf PostInstall > ># Unmount build server >umount /mnt/nfs && echo "unmounted nfs server" > ># create lwsadm user >useradd -o -s /bin/bash -m -c root -u 0 -g 0 -d/lwsadm lwsadm > >#echo "lwsadm:x:0:0:root:/lwsadm:/bin/bash" >> /etc/passwd >#mkdir -p /lwsadm >chmod 750 /lwsadm > ># Write finish flags >touch /NeedToFinish >touch /PostInstall > >#echo 'jwedgeco:X:11544:71:Jason W Edgecombe:/afs/uncc.edu/usr/l/jwedgeco/linux:/bin/bash' >> /etc/passwd >#echo 'jwedgeco:!!:13452:0:99999:7:::' >> /etc/shadow > ># boot into init level 3 >perl -pi -e "s/id:\d:initdefault:/id:3:initdefault:/ig;" /etc/inittab > >chkconfig ntpd on >chkconfig firstboot off >chkconfig cfexecd on >chkconfig cfenvd on >chkconfig cfservd off >/sbin/chkconfig setroubleshoot off > >echo "Done with postinstall..." >sleep 5 > >#echo "Sleeping for 999999 seconds..." >#sleep 999999
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 240554
:
154996
|
154997
| 154998 |
154999
|
156277
|
322794
|
322797