RE: Kickstart not rebooting on completion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I use the following 
########################################################################
####
# tell big daddy we are all done
cat /root/install.log /root/anaconda-ks.cfg | mail -s 'ks install'
myemail@xxxxxxxxxx
shutdown -r now


If I use reboot instead of shutdown -r now then Ananconda complains but
almost always reboots anyway.


-----Original Message-----
From: Tom Brown [mailto:tom@xxxxxxxx] 
Sent: Wednesday, July 01, 2009 10:03 AM
To: Discussion list about Kickstart
Subject: Re: Kickstart not rebooting on completion

Matthew Milliss wrote:
> I'm using kickstart to install Fedora 11 and I'm having an issue with 
> the system not rebooting when the install has finished. The install is

> running in text mode and it just stops on the "Running post install" 
> screen. If I force a reboot the install has been successful, but I 
> find myself wasting time waiting around to make sure the install has 
> finished before forcing a reboot. My kickstart file is below. Any help

> would be greatly appreciated.
>
> # Kickstart file automatically generated by anaconda - with some 
> additions by Matt.
> #version=F11
> install
> text
> cdrom
> lang en_AU.UTF-8
> keyboard us
> network --device=eth0 --bootproto=dhcp --hostname=snotrod
> xconfig --startxonboot
> rootpw  --iscrypted <SOME_ENCRYPTED_TEXT>
> firewall --disabled
> authconfig --enableshadow --passalgo=sha512 --enablefingerprint
> selinux --permissive
> timezone --utc Australia/Sydney
> bootloader --location=mbr --driveorder=sda --append="quiet
reboot=bios"
> autopart
> clearpart --all
> reboot --eject
>
> repo --name=msl --baseurl=http://hannibal/tyroyummy/msl
>
> %packages
> @admin-tools
> @base
> @core
> @editors
> @fonts
> @gnome-desktop
> @graphical-internet
> @graphics
> @hardware-support
> @input-methods
> @office
> @online-docs
> @printing
> @sound-and-video
> @base-x
> xfsprogs
> mtools
> gpgme
> pax
> gnupg2
> gvfs-obexftp
> ImageMagick
> dcraw
> netpbm-progs
> hdparm
> m17n-db-assamese
> gok
> m17n-db-tamil
> m17n-db-gujarati
> iok
> m17n-db-hindi
> m17n-db-punjabi
> m17n-db-oriya
> m17n-db-telugu
> m17n-db-bengali
> m17n-db-malayalam
> m17n-contrib-sinhala
> m17n-db-kannada
> gdm
> nvu
> binutils
> rdesktop
> wireshark
> wireshark-gnome
> subversion
> vnc
> minicom
> thunderbird
> rpm-build
> kernel-headers
> createrepo
> kernel-devel
> yelp
> jedit
> vsftpd
> AdobeReader_enu
> flash-plugin
> nxclient
> nxnode
> nxserver
> ntp
> %end
>
> %post
> #!/bin/bash
> env > /root/postks.log
> mkdir /mnt/pub
> mkdir /mnt/yum
> mount -o ro,nolock -t nfs hannibal:/tyroyummy /mnt/yum
> #mount -o ro,nolock -t nfs 192.168.100.58:/home/pub/ /mnt/pub
> cp /etc/fstab /etc/fstab.bk
> echo "avalon-2:/home/pub      /mnt/pub        nfs     auto,rw,intr    
> 0 0" >> /etc/fstab
> echo "hannibal:/tyroyummy      /mnt/yum        nfs     auto,rw,intr

> 0 0" >> /etc/fstab
> cd /mnt/yum/SOE_Fedora11/install
> ./install.sh > /var/log/msl_install_output.log
> cd /
> umount /mnt/yum
> %end
>
>

what does alt+f2 etc show you its waiting for




_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux