Ask Your Question
1

Kickstart install issues with F22

asked 2016-05-24 15:33:44 -0500

Akaadm gravatar image

updated 2016-05-24 19:18:47 -0500

Hello, Its been a very long time I have used kickstart to image systems. I am trying to get kickstart to work for Fedora 22. I get up to partitioning and then it fails with groups not found error. I have setup a local NFS repo that I pull with HTTP. I have mounted the Server 22 ISO file and rsync'ed all files from the mounted area to NFS.

Since I cant upload a screen shot, here is the error:

the group 'core' is required for this installation. this group does not exist. this is a fatal error and install will be aborted.

my ks.cfg looks like this:

lang en_US
# Firewall configuration
firewall --disabled
# Network information
network  --bootproto=static --device=ens32 --gateway=192.168.2.1 --ip=192.168.2.10 --nameserver=192.168.2.50 --netmask=255.255.255.0 --

onboot=true --activate --noipv6


# System authorization information
auth  --useshadow  --passalgo=sha512
# Use text mode install
text
firstboot --disable
# SELinux configuration
selinux --disabled

# System bootloader configuration
bootloader --location=mbr --boot-drive=sda
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --all --initlabel
# Disk partitioning information
autopart --type=plain

%packages
@admin-tools
@fonts
@hardware-support
@input-methods
@java
@legacy-fonts
@legacy-software-support
@networkmanager-submodules
@standard
@system-tools
%

what am I doing wrong? As I have stated, I have copied all the contents of the ISO in a NFS disk and I have verified that contents are accessible via my apache web server.

Please help.

thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-05-31 08:15:50 -0500

snowolfe gravatar image

I may be misunderstanding something here - but you need to add the @core group to the list of packages (it does exist - I think it contains the minimum set of packages required for installation of Fedora).

Also, assuming you are showing the complete "ks" file - I think you need to add the nfs entry (from the Fedora 23 docs, sorry, the version that I am running):

nfs

``nfs --server=<hostname> --dir=<directory> [--opts=<nfs options>]``

    Install from the NFS server specified. This can either be an
    exploded installation tree or a directory of ISO images. In the
    latter case, the install.img must also be provided subject to the
    same rules as with the harddrive installation method described
    above.

    ``--server=``

        Server from which to install (hostname or IP).

    ``--dir=``

        Directory containing the Packages/ directory of the installation
        tree. If doing an ISO install, this directory must also contain
        images/install.img.

    ``--opts=``

        Mount options to use for mounting the NFS export. Any options
        that can be specified in /etc/fstab for an NFS mount are
        allowed. The options are listed in the nfs(5) man page. Multiple
        options are separated with a comma.

        For example:

        ``nfs --server=nfsserver.example.com --dir=/tmp/install-tree``

If needed - install pykickstart, the docs are in /usr/share/doc/py*kickstart/. You will also get the ksvalidator utility that will enable you to verify the "format" of your kickstart file.

edit flag offensive delete link more

Comments

Having just re-read your question - you may be trying to access the content via HTTP, in which case use the url url="http://server/path.to.repo/" instead of the NFS details. Either way the pykickstart docs cover the repo access methods. Also, make sure that your firewall and selinux are allowing your server to serve the repo content!

snowolfe gravatar imagesnowolfe ( 2016-06-01 05:25:03 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-05-24 15:33:44 -0500

Seen: 374 times

Last updated: May 31 '16