mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-09 00:20:31 +08:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bee1c037a1 | ||
|
|
d7ab22af4f | ||
|
|
9b1cc5c734 |
@@ -32,10 +32,15 @@ reboot
|
|||||||
|
|
||||||
# Package list.
|
# Package list.
|
||||||
%packages
|
%packages
|
||||||
|
|
||||||
|
fedora-release-cloud
|
||||||
|
|
||||||
kernel-core
|
kernel-core
|
||||||
@core
|
@core
|
||||||
grubby
|
grubby
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# cloud-init does magical things with EC2 metadata, including provisioning
|
# cloud-init does magical things with EC2 metadata, including provisioning
|
||||||
# a user account with ssh keys.
|
# a user account with ssh keys.
|
||||||
cloud-init
|
cloud-init
|
||||||
|
|||||||
@@ -39,6 +39,9 @@ reboot
|
|||||||
|
|
||||||
# Package list.
|
# Package list.
|
||||||
%packages
|
%packages
|
||||||
|
|
||||||
|
fedora-release-cloud
|
||||||
|
|
||||||
kernel-core
|
kernel-core
|
||||||
@core
|
@core
|
||||||
grubby
|
grubby
|
||||||
|
|||||||
@@ -39,6 +39,9 @@ reboot
|
|||||||
|
|
||||||
# Package list.
|
# Package list.
|
||||||
%packages
|
%packages
|
||||||
|
|
||||||
|
fedora-release-cloud
|
||||||
|
|
||||||
kernel-core
|
kernel-core
|
||||||
@core
|
@core
|
||||||
grubby
|
grubby
|
||||||
|
|||||||
@@ -19,7 +19,6 @@ bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,11520
|
|||||||
network --bootproto=dhcp --device=eth0 --activate --onboot=on
|
network --bootproto=dhcp --device=eth0 --activate --onboot=on
|
||||||
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
|
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||||
|
|
||||||
|
|
||||||
zerombr
|
zerombr
|
||||||
clearpart --all
|
clearpart --all
|
||||||
part / --size 3000 --fstype ext4
|
part / --size 3000 --fstype ext4
|
||||||
@@ -31,6 +30,9 @@ reboot
|
|||||||
|
|
||||||
# Package list.
|
# Package list.
|
||||||
%packages --excludedocs --instLangs=en_US
|
%packages --excludedocs --instLangs=en_US
|
||||||
|
|
||||||
|
fedora-release-cloud
|
||||||
|
|
||||||
kernel-core
|
kernel-core
|
||||||
@core
|
@core
|
||||||
grubby
|
grubby
|
||||||
@@ -52,13 +54,13 @@ dracut-config-generic
|
|||||||
|
|
||||||
syslinux-extlinux
|
syslinux-extlinux
|
||||||
|
|
||||||
|
# Needed initially, but removed below.
|
||||||
|
firewalld
|
||||||
|
|
||||||
# cherry-pick a few things from @standard
|
# cherry-pick a few things from @standard
|
||||||
tar
|
tar
|
||||||
rsync
|
rsync
|
||||||
|
|
||||||
# anaconda needs authconfig to be installed into the image to setup some things
|
|
||||||
authconfig
|
|
||||||
|
|
||||||
# Some things from @core we can do without in a minimal install
|
# Some things from @core we can do without in a minimal install
|
||||||
-biosdevname
|
-biosdevname
|
||||||
-plymouth
|
-plymouth
|
||||||
@@ -67,9 +69,7 @@ authconfig
|
|||||||
-kbd
|
-kbd
|
||||||
-uboot-tools
|
-uboot-tools
|
||||||
-kernel
|
-kernel
|
||||||
-firewalld
|
|
||||||
-grub2
|
-grub2
|
||||||
-man-db
|
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
@@ -116,10 +116,20 @@ rm -f /etc/systemd/system/default.target
|
|||||||
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
||||||
echo .
|
echo .
|
||||||
|
|
||||||
|
# If you want to remove rsyslog and just use journald, remove this!
|
||||||
|
echo -n "Disabling persistent journal"
|
||||||
|
rmdir /var/log/journal/
|
||||||
|
echo .
|
||||||
|
|
||||||
# this is installed by default but we don't need it in virt
|
# this is installed by default but we don't need it in virt
|
||||||
echo "Removing linux-firmware package."
|
echo "Removing linux-firmware package."
|
||||||
yum -C -y remove linux-firmware
|
yum -C -y remove linux-firmware
|
||||||
|
|
||||||
|
# Remove firewalld; was supposed to be optional in F18+, but is required to
|
||||||
|
# be present for install/image building.
|
||||||
|
echo "Removing firewalld."
|
||||||
|
yum -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."
|
||||||
|
|||||||
@@ -16,12 +16,12 @@
|
|||||||
# use the source repo, we can't just include fedora-repo.ks
|
# use the source repo, we can't just include fedora-repo.ks
|
||||||
|
|
||||||
# In the master branch the rawhide repo commands should be uncommented.
|
# In the master branch the rawhide repo commands should be uncommented.
|
||||||
repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
|
#repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
|
||||||
repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch
|
#repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch
|
||||||
|
|
||||||
# In non-master branches the fedora repo commands should be uncommented
|
# In non-master branches the fedora repo commands should be uncommented
|
||||||
#repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
|
repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
|
||||||
#repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch
|
repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch
|
||||||
|
|
||||||
# Package manifest for the compose. Uses repo group metadata to translate groups.
|
# Package manifest for the compose. Uses repo group metadata to translate groups.
|
||||||
# (default groups for the configured repos are added by --default)
|
# (default groups for the configured repos are added by --default)
|
||||||
|
|||||||
@@ -16,12 +16,12 @@
|
|||||||
# use the source repo, we can't just include fedora-repo.ks
|
# use the source repo, we can't just include fedora-repo.ks
|
||||||
|
|
||||||
# In the master branch the rawhide repo commands should be uncommented.
|
# In the master branch the rawhide repo commands should be uncommented.
|
||||||
repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
|
#repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
|
||||||
repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch
|
#repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch
|
||||||
|
|
||||||
# In non-master branches the fedora repo commands should be uncommented
|
# In non-master branches the fedora repo commands should be uncommented
|
||||||
#repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
|
repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
|
||||||
#repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch
|
repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch
|
||||||
|
|
||||||
# Package manifest for the compose. Uses repo group metadata to translate groups.
|
# Package manifest for the compose. Uses repo group metadata to translate groups.
|
||||||
# (default groups for the configured repos are added by --default)
|
# (default groups for the configured repos are added by --default)
|
||||||
|
|||||||
@@ -16,12 +16,12 @@
|
|||||||
# use the source repo, we can't just include fedora-repo.ks
|
# use the source repo, we can't just include fedora-repo.ks
|
||||||
|
|
||||||
# In the master branch the rawhide repo commands should be uncommented.
|
# In the master branch the rawhide repo commands should be uncommented.
|
||||||
repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
|
#repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
|
||||||
repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch
|
#repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch
|
||||||
|
|
||||||
# In non-master branches the fedora repo commands should be uncommented
|
# In non-master branches the fedora repo commands should be uncommented
|
||||||
#repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
|
repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
|
||||||
#repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch
|
repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch
|
||||||
|
|
||||||
# Package manifest for the compose. Uses repo group metadata to translate groups.
|
# Package manifest for the compose. Uses repo group metadata to translate groups.
|
||||||
# (default groups for the configured repos are added by --default)
|
# (default groups for the configured repos are added by --default)
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# Exactly one of the following should be uncommented
|
# Exactly one of the following should be uncommented
|
||||||
|
|
||||||
# For the master branch the following should be uncommented
|
# For the master branch the following should be uncommented
|
||||||
%include fedora-repo-rawhide.ks
|
#%include fedora-repo-rawhide.ks
|
||||||
|
|
||||||
# For non-master branches the following should be uncommented
|
# For non-master branches the following should be uncommented
|
||||||
# %include fedora-repo-not-rawhide.ks
|
%include fedora-repo-not-rawhide.ks
|
||||||
|
|||||||
Reference in New Issue
Block a user