I can not get the Kickstart commands correct to configure and enable ntpd instead of chronyd. Here is my script for use with Fedora 19:
auth --enableshadow --passalgo sha512 autopart --type lvm bootloader --location mbr --boot-drive $disk clearpart --all --initlabel --drives $disk firewall --enable --service mdns,ssh firstboot --disable ignoredisk --only-use $disk keyboard --vckeymap us --xlayouts us lang en_US.UTF-8 network --activate --bootproto static --device eth0 --gateway 192.168.$subnet.254 --hostname $host.hunter.org --ip 192.168.$subnet.$ip --nameserver 192.168.$subnet.11 --netmask 255.255.255.0 --noipv6 repo --name local-fedora --baseurl http://192.168.$subnet.10/repos/fedora$releasever/fedora repo --name local-updates --baseurl http://192.168.$subnet.10/repos/fedora$releasever/updates reboot rootpw --iscrypted \$6\$6YuUd3dm5L5ALg25\ $mOot78r5I7kNFPhNRcOuFmHHS3FO.vfetR.z7K6LfGEmIk6mMlWh72coTpbiPna5puEDDPvNYngGnFL3KCvGo. services --enable ntpd text timezone --ntpservers 192.168.$subnet.10 --utc America/Chicago url --url http://192.168.$subnet.10/repos/fedora$releasever/iso user --gecos "Local Administrator" --groups wheel --iscrypted --name local --password \$6\$6YuUd3dm5L5ALg25\ $mOot78r5I7kNFPhNRcOuFmHHS3FO.vfetR.z7K6LfGEmIk6mMlWh72coTpbiPna5puEDDPvNYngGnFL3KCvGo. xconfig --startxonboot %packages @base-x @core @dial-up @firefox @fonts @gnome-desktop @hardware-support @input-methods @multimedia @printing @standard ntp qemu-guest-agent %end %post set -v # Configure the hosts file cat >/etc/hosts <<EOD 127.0.0.1 localhost.localdomain localhost 192.168.$subnet.10 host.hunter.org host EOD # Configure the SSH directory for root mkdir /root/.ssh chcon --type ssh_home_t /root/.ssh chcon --user system_u /root/.ssh # Configure the Yellowdog Updater Modified (yum) wget --output-document /etc/yum.repos.d/local-fedora.repo \ http://host.hunter.org/repos/local-fedora.repo # RedHat bug 984216 wget --output-document /etc/yum.repos.d/local-updates.repo \ http://host.hunter.org/repos/local-updates.repo # RedHat bug 984216 # yum-config-manager --add-repo http://host.hunter.org/repos/local-fedora.repo # RedHat bug 984216 # yum-config-manager --add-repo http://host.hunter.org/repos/local-updates.repo # RedHat bug 984216 yum-config-manager --disable fedora yum-config-manager --disable updates %end What am I doing wrong?
_______________________________________________ Kickstart-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/kickstart-list
