mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-10 00:50:32 +08:00
Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5ee03735d6 | ||
|
|
4f004227f3 | ||
|
|
d1d9de9a97 | ||
|
|
fa5c8ccf35 | ||
|
|
06ce4be308 | ||
|
|
9b0b39f7d6 | ||
|
|
24b73a6270 | ||
|
|
174b5721ec | ||
|
|
ab1363a4bc | ||
|
|
f84b197d1e | ||
|
|
2611d60fd0 | ||
|
|
200f6930a6 | ||
|
|
ab7ee6e6db | ||
|
|
6527f89bde | ||
|
|
86e0dc18cf | ||
|
|
d64a181fa3 |
@@ -43,7 +43,6 @@ initial-setup-gui
|
|||||||
|
|
||||||
# make sure all the locales are available for inital0-setup and anaconda to work
|
# make sure all the locales are available for inital0-setup and anaconda to work
|
||||||
glibc-all-langpacks
|
glibc-all-langpacks
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post
|
%post
|
||||||
@@ -72,13 +71,8 @@ systemctl mask tmp.mount
|
|||||||
|
|
||||||
dnf -y remove dracut-config-generic
|
dnf -y remove dracut-config-generic
|
||||||
|
|
||||||
# Disable network service here, as doing it in the services line
|
|
||||||
# fails due to RHBZ #1369794
|
|
||||||
/sbin/chkconfig network off
|
|
||||||
|
|
||||||
# Remove machine-id on pre generated images
|
# Remove machine-id on pre generated images
|
||||||
rm -f /etc/machine-id
|
rm -f /etc/machine-id
|
||||||
touch /etc/machine-id
|
touch /etc/machine-id
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
%include fedora-arm-xbase.ks
|
%include fedora-arm-xbase.ks
|
||||||
%include fedora-mate-common.ks
|
%include fedora-mate-common.ks
|
||||||
|
|
||||||
part / --size=6100 --fstype ext4
|
part / --size=7168 --fstype ext4
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
@input-methods
|
@input-methods
|
||||||
@multimedia
|
@multimedia
|
||||||
@printing
|
@printing
|
||||||
|
epiphany
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|||||||
@@ -14,6 +14,6 @@
|
|||||||
parole
|
parole
|
||||||
|
|
||||||
# extra backgrounds
|
# extra backgrounds
|
||||||
f29-backgrounds-extras-gnome
|
f30-backgrounds-extras-gnome
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|||||||
@@ -137,7 +137,7 @@ echo "Removing firewalld."
|
|||||||
# not work when package was installed by Anaconda instead of command line.
|
# not work when package was installed by Anaconda instead of command line.
|
||||||
# Also -- check if this is still even needed with new anaconda -- disabled
|
# Also -- check if this is still even needed with new anaconda -- disabled
|
||||||
# firewall should _not_ pull in this package.
|
# firewall should _not_ pull in this package.
|
||||||
# yum -C -y remove "firewalld*" --setopt="clean_requirements_on_remove=1"
|
# dnf -C -y remove "firewalld*" --setopt="clean_requirements_on_remove=1"
|
||||||
dnf -C -y erase "firewalld*"
|
dnf -C -y erase "firewalld*"
|
||||||
|
|
||||||
# Another one needed at install time but not after that, and it pulls
|
# Another one needed at install time but not after that, and it pulls
|
||||||
|
|||||||
@@ -112,12 +112,12 @@ rpm -e linux-firmware
|
|||||||
# Remove firewalld; was supposed to be optional in F18+, but is required to
|
# Remove firewalld; was supposed to be optional in F18+, but is required to
|
||||||
# be present for install/image building.
|
# be present for install/image building.
|
||||||
echo "Removing firewalld."
|
echo "Removing firewalld."
|
||||||
yum -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
|
dnf -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
|
||||||
|
|
||||||
# Another one needed at install time but not after that, and it pulls
|
# Another one needed at install time but not after that, and it pulls
|
||||||
# in some unneeded deps (like, newt and slang)
|
# in some unneeded deps (like, newt and slang)
|
||||||
echo "Removing authconfig."
|
echo "Removing authconfig."
|
||||||
yum -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
|
dnf -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
|
||||||
|
|
||||||
echo -n "Getty fixes"
|
echo -n "Getty fixes"
|
||||||
# although we want console output going to the serial console, we don't
|
# although we want console output going to the serial console, we don't
|
||||||
@@ -176,10 +176,10 @@ echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
|
|||||||
echo "Removing random-seed so it's not the same in every image."
|
echo "Removing random-seed so it's not the same in every image."
|
||||||
rm -f /var/lib/systemd/random-seed
|
rm -f /var/lib/systemd/random-seed
|
||||||
|
|
||||||
echo "Cleaning old yum repodata."
|
echo "Cleaning old dnf repodata."
|
||||||
yum history new
|
dnf history new
|
||||||
yum clean all
|
dnf clean all
|
||||||
truncate -c -s 0 /var/log/yum.log
|
truncate -c -s 0 /var/log/dnf.log
|
||||||
|
|
||||||
echo "Import RPM GPG key"
|
echo "Import RPM GPG key"
|
||||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||||
@@ -204,7 +204,7 @@ dd if=/usr/share/syslinux/mbr.bin of=/dev/vda
|
|||||||
echo "Fixing SELinux contexts."
|
echo "Fixing SELinux contexts."
|
||||||
touch /var/log/cron
|
touch /var/log/cron
|
||||||
touch /var/log/boot.log
|
touch /var/log/boot.log
|
||||||
mkdir -p /var/cache/yum
|
mkdir -p /var/cache/dnf
|
||||||
/usr/sbin/fixfiles -R -a restore
|
/usr/sbin/fixfiles -R -a restore
|
||||||
|
|
||||||
echo "Zeroing out empty space."
|
echo "Zeroing out empty space."
|
||||||
|
|||||||
@@ -103,12 +103,12 @@ rpm -e linux-firmware
|
|||||||
# Remove firewalld; was supposed to be optional in F18+, but is required to
|
# Remove firewalld; was supposed to be optional in F18+, but is required to
|
||||||
# be present for install/image building.
|
# be present for install/image building.
|
||||||
echo "Removing firewalld."
|
echo "Removing firewalld."
|
||||||
yum -C -y remove "firewalld*" --setopt="clean_requirements_on_remove=1"
|
dnf -C -y remove "firewalld*" --setopt="clean_requirements_on_remove=1"
|
||||||
|
|
||||||
# Another one needed at install time but not after that, and it pulls
|
# Another one needed at install time but not after that, and it pulls
|
||||||
# in some unneeded deps (like, newt and slang)
|
# in some unneeded deps (like, newt and slang)
|
||||||
echo "Removing authconfig."
|
echo "Removing authconfig."
|
||||||
yum -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
|
dnf -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
|
||||||
|
|
||||||
echo -n "Getty fixes"
|
echo -n "Getty fixes"
|
||||||
# although we want console output going to the serial console, we don't
|
# although we want console output going to the serial console, we don't
|
||||||
@@ -167,10 +167,10 @@ echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
|
|||||||
echo "Removing random-seed so it's not the same in every image."
|
echo "Removing random-seed so it's not the same in every image."
|
||||||
rm -f /var/lib/systemd/random-seed
|
rm -f /var/lib/systemd/random-seed
|
||||||
|
|
||||||
echo "Cleaning old yum repodata."
|
echo "Cleaning old dnf repodata."
|
||||||
yum history new
|
dnf history new
|
||||||
yum clean all
|
dnf clean all
|
||||||
truncate -c -s 0 /var/log/yum.log
|
truncate -c -s 0 /var/log/dnf.log
|
||||||
|
|
||||||
echo "Import RPM GPG key"
|
echo "Import RPM GPG key"
|
||||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||||
@@ -196,7 +196,7 @@ dd if=/usr/share/syslinux/mbr.bin of=/dev/vda
|
|||||||
echo "Fixing SELinux contexts."
|
echo "Fixing SELinux contexts."
|
||||||
touch /var/log/cron
|
touch /var/log/cron
|
||||||
touch /var/log/boot.log
|
touch /var/log/boot.log
|
||||||
mkdir -p /var/cache/yum
|
mkdir -p /var/cache/dnf
|
||||||
chattr -i /boot/extlinux/ldlinux.sys
|
chattr -i /boot/extlinux/ldlinux.sys
|
||||||
/usr/sbin/fixfiles -R -a restore
|
/usr/sbin/fixfiles -R -a restore
|
||||||
chattr +i /boot/extlinux/ldlinux.sys
|
chattr +i /boot/extlinux/ldlinux.sys
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ vim-minimal
|
|||||||
dnf
|
dnf
|
||||||
dnf-yum # https://fedorahosted.org/fesco/ticket/1312#comment:29
|
dnf-yum # https://fedorahosted.org/fesco/ticket/1312#comment:29
|
||||||
sssd-client
|
sssd-client
|
||||||
|
sudo
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post --erroronfail --log=/root/anaconda-post.log
|
%post --erroronfail --log=/root/anaconda-post.log
|
||||||
|
|||||||
@@ -8,12 +8,15 @@ autopart --noswap
|
|||||||
# install the default groups for the server environment since installing the environment is not working
|
# install the default groups for the server environment since installing the environment is not working
|
||||||
@server-product
|
@server-product
|
||||||
@standard
|
@standard
|
||||||
|
@core
|
||||||
@headless-management
|
@headless-management
|
||||||
@hardware-support
|
@hardware-support
|
||||||
@networkmanager-submodules
|
@networkmanager-submodules
|
||||||
|
|
||||||
@container-management
|
@container-management
|
||||||
@domain-client
|
@domain-client
|
||||||
|
@guest-agents
|
||||||
|
@server-hardware-support
|
||||||
-initial-setup-gui
|
-initial-setup-gui
|
||||||
-generic-release*
|
-generic-release*
|
||||||
%end
|
%end
|
||||||
|
|||||||
@@ -65,6 +65,7 @@ glibc-all-langpacks
|
|||||||
|
|
||||||
# no longer in @core since 2018-10, but needed for livesys script
|
# no longer in @core since 2018-10, but needed for livesys script
|
||||||
initscripts
|
initscripts
|
||||||
|
chkconfig
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|||||||
@@ -6,3 +6,6 @@
|
|||||||
|
|
||||||
%include fedora-live-workstation.ks
|
%include fedora-live-workstation.ks
|
||||||
%include fedora-python-classroom-gnome-common.ks
|
%include fedora-python-classroom-gnome-common.ks
|
||||||
|
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1695796
|
||||||
|
part / --size 7168
|
||||||
|
|||||||
@@ -17,6 +17,8 @@ wget
|
|||||||
-python33
|
-python33
|
||||||
-python34
|
-python34
|
||||||
-python35
|
-python35
|
||||||
|
-python36
|
||||||
|
-python38
|
||||||
-pypy
|
-pypy
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|||||||
@@ -7,7 +7,6 @@
|
|||||||
%include fedora-python-classroom-common.ks
|
%include fedora-python-classroom-common.ks
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
ninja-ide
|
|
||||||
emacs
|
emacs
|
||||||
python3-matplotlib-tk
|
python3-matplotlib-tk
|
||||||
python3-pillow-tk
|
python3-pillow-tk
|
||||||
|
|||||||
@@ -28,14 +28,6 @@ armadillo-devel
|
|||||||
ddd
|
ddd
|
||||||
valgrind
|
valgrind
|
||||||
|
|
||||||
#python 2 tools/libraries not included from the groups
|
|
||||||
python2-tools
|
|
||||||
python-ipython
|
|
||||||
python-ipython-console
|
|
||||||
python-ipython-notebook
|
|
||||||
sympy
|
|
||||||
python-networkx
|
|
||||||
python-pandas
|
|
||||||
|
|
||||||
#python 3 and tools/libraries not included from the groups
|
#python 3 and tools/libraries not included from the groups
|
||||||
python3
|
python3
|
||||||
@@ -51,8 +43,6 @@ python3-networkx
|
|||||||
python3-pandas
|
python3-pandas
|
||||||
|
|
||||||
# matplotlib backends
|
# matplotlib backends
|
||||||
python-matplotlib-qt4
|
|
||||||
python-matplotlib-tk
|
|
||||||
python3-matplotlib-qt4
|
python3-matplotlib-qt4
|
||||||
python3-matplotlib-tk
|
python3-matplotlib-tk
|
||||||
|
|
||||||
@@ -101,7 +91,6 @@ openmpi
|
|||||||
openmpi-devel
|
openmpi-devel
|
||||||
valgrind-openmpi
|
valgrind-openmpi
|
||||||
libgomp
|
libgomp
|
||||||
python-pp
|
|
||||||
mpi4py-openmpi
|
mpi4py-openmpi
|
||||||
python3-mpi4py-openmpi
|
python3-mpi4py-openmpi
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# Maintainer(s):
|
# Maintainer(s):
|
||||||
# - Fabian Affolter <fab at fedoraproject.org>
|
# - Fabian Affolter <fab at fedoraproject.org>
|
||||||
|
|
||||||
%include ../fedora-livecd-xfce.ks
|
%include ../fedora-live-xfce.ks
|
||||||
|
|
||||||
lang de_DE
|
lang de_DE
|
||||||
keyboard sg-latin1-nodeadkeys
|
keyboard sg-latin1-nodeadkeys
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# Maintainer(s):
|
# Maintainer(s):
|
||||||
# - Fabian Affolter <fab at fedoraproject.org>
|
# - Fabian Affolter <fab at fedoraproject.org>
|
||||||
|
|
||||||
%include ../fedora-livecd-xfce.ks
|
%include ../fedora-live-xfce.ks
|
||||||
|
|
||||||
lang de_DE.UTF-8
|
lang de_DE.UTF-8
|
||||||
keyboard de-latin1-nodeadkeys
|
keyboard de-latin1-nodeadkeys
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
# Maintainer(s):
|
# Maintainer(s):
|
||||||
# - Matthieu Saulnier <fantom@fedoraproject.org>
|
# - Matthieu Saulnier <fantom@fedoraproject.org>
|
||||||
|
|
||||||
%include ../fedora-livecd-xfce.ks
|
%include ../fedora-live-xfce.ks
|
||||||
|
|
||||||
lang fr_FR.UTF-8
|
lang fr_FR.UTF-8
|
||||||
keyboard fr-latin9
|
keyboard fr-latin9
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# Maintainer(s):
|
# Maintainer(s):
|
||||||
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
|
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
|
||||||
|
|
||||||
%include ../fedora-livecd-xfce.ks
|
%include ../fedora-live-xfce.ks
|
||||||
|
|
||||||
lang nl_NL
|
lang nl_NL
|
||||||
keyboard us
|
keyboard us
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# Maintainer(s):
|
# Maintainer(s):
|
||||||
# - Pedro Silva <pedrofsilva a netcabo.pt>
|
# - Pedro Silva <pedrofsilva a netcabo.pt>
|
||||||
|
|
||||||
%include ../fedora-livecd-xfce.ks
|
%include ../fedora-live-xfce.ks
|
||||||
|
|
||||||
lang pt_PT.UTF-8
|
lang pt_PT.UTF-8
|
||||||
keyboard pt-latin1
|
keyboard pt-latin1
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# Maintainer(s):
|
# Maintainer(s):
|
||||||
# - Sergey Mihailov <sergey.mihailov at gmail.com>
|
# - Sergey Mihailov <sergey.mihailov at gmail.com>
|
||||||
|
|
||||||
%include ../fedora-livecd-xfce.ks
|
%include ../fedora-live-xfce.ks
|
||||||
|
|
||||||
lang ru_RU.UTF-8
|
lang ru_RU.UTF-8
|
||||||
keyboard ru
|
keyboard ru
|
||||||
|
|||||||
Reference in New Issue
Block a user