Fedora 14 Kickstart Problems
Terry Barnaby
terry1 at beam.ltd.uk
Mon Nov 8 13:48:41 UTC 2010
On 11/08/2010 01:09 PM, Bernd Nies wrote:
> Hi,
>
> Im trying to do automated installation with Fedora 14 kickstart and the configuration [2] shown at
> the end of this message. The installation never runs through. Anaconda still displays these screens
> and waits for user input:
>
> - Welcome
> - License Information
> - Create User
> - Date and Time
> - Hardware Profile
>
> According to the Anaconda/Kickstart configuration guide [1] there is no further option I know of.
> Clicking through these screens for while setting up some hundred workstations is quite annoying.
>
> Furthermore the password of the created admin user is empty in /etc/shadow although I give it as an
> option in the kickstart config file.
>
> What am I missing? Or is there another better way to install some hundred Workstations with as
> little user untervention as possible. Currently we're using autoyast for setting up openSUSE 11.0
> installations.
>
>
> Best regards,
> Bernd Nies
>
>
> [1] http://fedoraproject.org/wiki/Anaconda/Kickstart
>
> [2] Kickstart config:
>
> == CUT ==
> install
> nfs --server=installserver.example.com --dir=/export/Fedora-14-i386-DVD
> logging --host=logserver.example.com --port=514 --level=debug
> reboot --eject
>
> ignoredisk --only-use sda
> clearpart --all --initlabel
> partition /boot --asprimary --fstype=ext4 --label BOOT --size=128
> partition swap --asprimary --fstype=swap --label SWAP --size=2048
> partition / --asprimary --fstype=ext4 --label ROOT --size=1 --grow
> bootloader --location=mbr
>
> lang en_US.UTF-8
> keyboard us
>
> network --bootproto=static --hostname=myhost --ip=192.168.12.48 --netmask=255.255.252.0
> --gateway=192.168.12.1 --nameserver=192.168.4.7,192.168.4.8
> timezone --utc Europe/Zurich
>
> firewall --disabled
> authconfig --enableshadow --enablemd5
> rootpw --plaintext gaga11
> user --name=admin --gecos=Administrator --homedir=/var/home/admin --shell=/bin/bash --password=changeme
> selinux --disabled
>
> graphical
> xconfig --defaultdesktop=GNOME --startxonboot
>
> repo --name "Fedora 14 DVD" --baseurl=nfs://installserver.example.com://export/Fedora-14-i386-DVD
> --cost=0
>
> %packages
> @Administration Tools
> @Base
> @Books and Guides
> @Buildsystem building group
> @Core
> @Critical Path (Base)
> @Critical Path (GNOME)
> @Development Libraries
> @Development Tools
> @Editors
> @Educational Software
> @Electronic Lab
> @Engineering and Scientific
> @Fedora Eclipse
> @Fedora Packager
> @Filesystems
> @Font design and packaging
> @Fonts
> @GNOME Desktop Environment
> @GNOME Software Development
> @Games and Entertainment
> @Graphical Internet
> @Graphics
> @Hardware Support
> @Input Methods
> @Java
> @Java Development
> @KDE Software Compilation
> @KDE Software Development
> @LXDE
> @Office/Productivity
> @Online Help and Documentation
> @Perl Development
> @Printing Support
> @Sound and Video
> @Sugar Desktop Environment
> @System Tools
> @Text-based Internet
> @Web Development
> @Window Managers
> @X Software Development
> @X Window System
> @XFCE
> @XFCE Software Development
> %end
> == CUT ==
Hi,
In the past I have used the following to enable/disable the post installation
screens. (With YES/NO).
%post
echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
The kickstart password setting command:
rootpw --iscrypted <encrypted password>
works for me, never tried the --plaintext option though.
Terry
More information about the users
mailing list