mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-11 01:20:30 +08:00
Compare commits
22 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
66b3b50b89 | ||
|
|
341e2f56f9 | ||
|
|
b1c14531ce | ||
|
|
9c52c11e9a | ||
|
|
37dc4aa02f | ||
|
|
a8e9553e5c | ||
|
|
75e15f1dd2 | ||
|
|
9eed55b9e5 | ||
|
|
eae3708bca | ||
|
|
ee4bc19ae7 | ||
|
|
51d4c8ee45 | ||
|
|
9defdef6cd | ||
|
|
efab044d00 | ||
|
|
13f09fe7d6 | ||
|
|
38321a2d35 | ||
|
|
b5ab8fc9bb | ||
|
|
6881942927 | ||
|
|
c00926fcb5 | ||
|
|
66c69f4243 | ||
|
|
6633c8f661 | ||
|
|
84b8cd7926 | ||
|
|
f1cfec3f1b |
@@ -1,8 +0,0 @@
|
|||||||
## Lorax template to configure Anaconda to use the local OSTree
|
|
||||||
## repository on disk.
|
|
||||||
|
|
||||||
<%page args="ostree_osname, ostree_ref"/>
|
|
||||||
append usr/share/anaconda/interactive-defaults.ks "ostreesetup --nogpg --osname=${ostree_osname} --remote=${ostree_osname} --url=file:////run/install/repo/content/repo --ref=${ostree_ref}\n"
|
|
||||||
append usr/share/anaconda/interactive-defaults.ks "services --disabled cloud-init,cloud-config,cloud-final,cloud-init-local\n"
|
|
||||||
append usr/share/anaconda/interactive-defaults.ks "%post --erroronfail\nrm -f /etc/ostree/remotes.d/${ostree_osname}.conf\n%end\n"
|
|
||||||
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
## Lorax template to embed an OSTree repository into the installer.iso
|
|
||||||
## and configure an interactive installer use to look for it.
|
|
||||||
##
|
|
||||||
## Note that we pull with depth=0 to only get *one* commit into the
|
|
||||||
## ISO, because we obviously don't want the full history.
|
|
||||||
|
|
||||||
<%page args="workdir, ostree_osname, ostree_repo, ostree_ref"/>
|
|
||||||
runcmd mkdir -p ${workdir}/iso-graft/content/repo
|
|
||||||
runcmd ostree --repo=${workdir}/iso-graft/content/repo init --mode=archive-z2
|
|
||||||
runcmd ostree --repo=${workdir}/iso-graft/content/repo remote add ostree-mirror --set=gpg-verify=false ${ostree_repo}
|
|
||||||
runcmd ostree --repo=${workdir}/iso-graft/content/repo pull --mirror ostree-mirror ${ostree_ref}
|
|
||||||
@@ -7,7 +7,7 @@ firewall --enabled --service=mdns,ssh
|
|||||||
# configure extlinux bootloader
|
# configure extlinux bootloader
|
||||||
bootloader extlinux
|
bootloader extlinux
|
||||||
|
|
||||||
part /boot --size=300 --fstype ext3
|
part /boot --size=512 --fstype ext3
|
||||||
part swap --size=512 --fstype swap
|
part swap --size=512 --fstype swap
|
||||||
part / --size=3000 --fstype ext4
|
part / --size=3000 --fstype ext4
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
%include fedora-arm-base.ks
|
%include fedora-arm-base.ks
|
||||||
|
|
||||||
part swap --size=256 --fstype swap
|
part swap --size=128 --fstype swap
|
||||||
part / --size=1200 --fstype ext4
|
part / --size=1400 --fstype ext4
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
-@standard
|
-@standard
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
%include fedora-arm-base.ks
|
%include fedora-arm-base.ks
|
||||||
|
|
||||||
# server defaults to xfs for / so lets do so on arm also
|
|
||||||
part / --size=3000 --fstype xfs
|
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
-@fedora-release-nonproduct
|
-@fedora-release-nonproduct
|
||||||
-@dial-up
|
-@dial-up
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
%include fedora-arm-base.ks
|
%include fedora-arm-base.ks
|
||||||
%include fedora-arm-xbase.ks
|
%include fedora-arm-xbase.ks
|
||||||
%include fedora-xfce-packages.ks
|
%include fedora-xfce-packages.ks
|
||||||
|
part / --size=3500 --fstype ext4
|
||||||
part / --size=4000 --fstype ext4
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
echo -n "Enabling initial-setup gui mode on startup"
|
echo -n "Enabling initial-setup gui mode on startup"
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ user --name=vagrant --password=vagrant
|
|||||||
|
|
||||||
# Work around cloud-init being both disabled and enabled; need
|
# Work around cloud-init being both disabled and enabled; need
|
||||||
# to refactor to a common base.
|
# to refactor to a common base.
|
||||||
systemctl mask cloud-init cloud-init-local cloud-config cloud-final
|
rm /etc/systemd/system/multi-user.target.wants/cloud-init* /etc/systemd/system/multi-user.target.wants/cloud-config*
|
||||||
|
|
||||||
# Vagrant setup
|
# Vagrant setup
|
||||||
sed -i 's,Defaults\\s*requiretty,Defaults !requiretty,' /etc/sudoers
|
sed -i 's,Defaults\\s*requiretty,Defaults !requiretty,' /etc/sudoers
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
# Fedora Atomic is a cloud-focused spin implementing the Project
|
# Fedora Atomic is a cloud-focused spin implementing the Project Atomic
|
||||||
# Atomic patterns. Note that this replicates the same tree which can
|
# patterns.
|
||||||
# now be installed on bare metal.
|
#
|
||||||
|
# RIGHT NOW, this is very like the traditional cloud image -- this is
|
||||||
# This image allocates most space to an LVM-managed thin pool
|
# just a starting point.
|
||||||
# dedicated for Docker containers, and uses docker-storage-setup to
|
|
||||||
# dynamically resize storage on boot.
|
|
||||||
|
|
||||||
text
|
text
|
||||||
lang en_US.UTF-8
|
lang en_US.UTF-8
|
||||||
@@ -21,8 +19,7 @@ firewall --disabled
|
|||||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
|
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||||
|
|
||||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
network --bootproto=dhcp --device=link --activate --onboot=on
|
||||||
services --disabled=network
|
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||||
services --enabled=sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
|
|
||||||
|
|
||||||
zerombr
|
zerombr
|
||||||
clearpart --all
|
clearpart --all
|
||||||
@@ -33,14 +30,14 @@ volgroup atomicos pv.01
|
|||||||
logvol / --size=3000 --fstype="xfs" --name=root --vgname=atomicos
|
logvol / --size=3000 --fstype="xfs" --name=root --vgname=atomicos
|
||||||
|
|
||||||
# Equivalent of %include fedora-repo.ks
|
# Equivalent of %include fedora-repo.ks
|
||||||
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=http://kojipkgs.fedoraproject.org/mash/atomic/rawhide/ --ref=fedora-atomic/rawhide/x86_64/docker-host
|
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=http://kojipkgs.fedoraproject.org/mash/atomic/22/ --ref=fedora-atomic/f22/x86_64/docker-host
|
||||||
|
|
||||||
reboot
|
reboot
|
||||||
|
|
||||||
%post --erroronfail
|
%post --erroronfail
|
||||||
# See https://github.com/projectatomic/rpm-ostree/issues/42
|
# See https://github.com/projectatomic/rpm-ostree/issues/42
|
||||||
ostree remote delete fedora-atomic
|
ostree remote delete fedora-atomic
|
||||||
ostree remote add --set=gpg-verify=false fedora-atomic 'http://dl.fedoraproject.org/pub/fedora/linux/atomic/rawhide/'
|
ostree remote add --set=gpg-verify=false fedora-atomic 'http://dl.fedoraproject.org/pub/fedora/linux/atomic/22/'
|
||||||
|
|
||||||
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
||||||
|
|||||||
@@ -1,57 +0,0 @@
|
|||||||
# Like the Cloud Base image, but tuned for vagrant. Enable
|
|
||||||
# the vagrant user, disable cloud-init.
|
|
||||||
|
|
||||||
%include fedora-cloud-base.ks
|
|
||||||
|
|
||||||
services --disabled=cloud-init,cloud-init-local,cloud-config,cloud-final
|
|
||||||
|
|
||||||
# So, to be clear, this gaping security hole is an integral part of how
|
|
||||||
# Vagrant works - These images are _not_ supposed to be run in any public-
|
|
||||||
# Internet facing way - They are for use on developer setups, almost always
|
|
||||||
# with NAT
|
|
||||||
user --name=vagrant --password=vagrant
|
|
||||||
|
|
||||||
# Suggestion from @purpleidea that most/many vagrant boxes also set root PW
|
|
||||||
# to "vagrant" for ease of use. Again, see comments above.
|
|
||||||
rootpw vagrant
|
|
||||||
|
|
||||||
# The addition of the net.ifnames=0 and biosdevnames=0 option ensures that
|
|
||||||
# even on VirtualBox virt, we get a primary network device with "eth0" as the name
|
|
||||||
# This simplifies things and allows a single disk image for both supported Vagrant
|
|
||||||
# platforms (virtualbox and kvm)
|
|
||||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0" --extlinux
|
|
||||||
|
|
||||||
%packages
|
|
||||||
# The default koji Vagrantfile configuration uses rsync to sync files between
|
|
||||||
# the vagrant host and the guest. It uses yum to verify that rsync is present
|
|
||||||
# and/or install it if it is not. It will fail without adding the yum compat
|
|
||||||
# layer for dnf
|
|
||||||
# TODO: Teach vagrant about dnf
|
|
||||||
dnf-yum
|
|
||||||
%end
|
|
||||||
|
|
||||||
%post --erroronfail
|
|
||||||
|
|
||||||
# Work around cloud-init being both disabled and enabled; need
|
|
||||||
# to refactor to a common base.
|
|
||||||
systemctl mask cloud-init cloud-init-local cloud-config cloud-final
|
|
||||||
|
|
||||||
# Vagrant setup
|
|
||||||
sed -i 's,Defaults\\s*requiretty,Defaults !requiretty,' /etc/sudoers
|
|
||||||
echo 'vagrant ALL=NOPASSWD: ALL' > /etc/sudoers.d/vagrant-nopasswd
|
|
||||||
sed -i 's/.*UseDNS.*/UseDNS no/' /etc/ssh/sshd_config
|
|
||||||
mkdir -m 0700 -p ~vagrant/.ssh
|
|
||||||
cat > ~vagrant/.ssh/authorized_keys << EOKEYS
|
|
||||||
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6NF8iallvQVp22WDkTkyrtvp9eWW6A8YVr+kz4TjGYe7gHzIw+niNltGEFHzD8+v1I2YJ6oXevct1YeS0o9HZyN1Q9qgCgzUFtdOKLv6IedplqoPkcmF0aYet2PkEDo3MlTBckFXPITAMzF8dJSIFo9D8HfdOV0IAdx4O7PtixWKn5y2hMNG0zQPyUecp4pzC6kivAIhyfHilFR61RGL+GPXQ2MWZWFYbAGjyiYJnAmCP3NOTd0jMZEnDkbUvxhMmBYSdETk1rRgm+R4LOzFUGaHqHDLKLX+FIPKcF96hrucXzcWyLbIbEgE98OHlnVYCzRdK8jlqm8tehUc9c9WhQ== vagrant insecure public key
|
|
||||||
EOKEYS
|
|
||||||
chmod 600 ~vagrant/.ssh/authorized_keys
|
|
||||||
chown -R vagrant:vagrant ~vagrant/.ssh/
|
|
||||||
|
|
||||||
# Further suggestion from @purpleidea (James Shubin) - extend key to root users as well
|
|
||||||
mkdir -m 0700 -p /root/.ssh
|
|
||||||
cp /home/vagrant/.ssh/authorized_keys /root/.ssh/authorized_keys
|
|
||||||
chmod 600 /root/.ssh/authorized_keys
|
|
||||||
chown -R root:root /root/.ssh
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
@@ -7,22 +7,9 @@
|
|||||||
# Note that unlike the standard F20 install, this image has /tmp on disk
|
# Note that unlike the standard F20 install, this image has /tmp on disk
|
||||||
# rather than in tmpfs, since memory is usually at a premium.
|
# rather than in tmpfs, since memory is usually at a premium.
|
||||||
#
|
#
|
||||||
# This kickstart file is designed to be used with ImageFactory (in Koji).
|
# This kickstart file is designed to be used with appliance-creator and
|
||||||
#
|
# may need slight modification for use with actual anaconda or other tools.
|
||||||
# To do a local build, you'll need to install ImageFactory. See
|
# We intend to target anaconda-in-a-vm style image building for F20.
|
||||||
# http://worknotes.readthedocs.org/en/latest/cloudimages.html for some notes.
|
|
||||||
#
|
|
||||||
# For a TDL file, I store one here:
|
|
||||||
# https://git.fedorahosted.org/cgit/fedora-atomic.git/tree/fedora-atomic-rawhide.tdl
|
|
||||||
# (Koji generates one internally...what we really want is Koji to publish it statically)
|
|
||||||
#
|
|
||||||
# Once you have imagefactory and imagefactory-plugins installed, run:
|
|
||||||
#
|
|
||||||
# curl -O https://git.fedorahosted.org/cgit/fedora-atomic.git/plain/fedora-atomic-rawhide.tdl
|
|
||||||
# tempfile=$(mktemp --suffix=.ks)
|
|
||||||
# ksflatten -v F22 fedora-cloud-base.ks > ${tempfile}
|
|
||||||
# imagefactory --debug base_image --file-parameter install_script ${tempfile} fedora-atomic-rawhide.tdl
|
|
||||||
#
|
|
||||||
|
|
||||||
cmdline
|
cmdline
|
||||||
lang en_US.UTF-8
|
lang en_US.UTF-8
|
||||||
@@ -155,11 +142,9 @@ NAutoVTs=0' /etc/systemd/logind.conf
|
|||||||
|
|
||||||
echo -n "Network fixes"
|
echo -n "Network fixes"
|
||||||
# initscripts don't like this file to be missing.
|
# initscripts don't like this file to be missing.
|
||||||
# and https://bugzilla.redhat.com/show_bug.cgi?id=1204612
|
|
||||||
cat > /etc/sysconfig/network << EOF
|
cat > /etc/sysconfig/network << EOF
|
||||||
NETWORKING=yes
|
NETWORKING=yes
|
||||||
NOZEROCONF=yes
|
NOZEROCONF=yes
|
||||||
DEVTIMEOUT=10
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# For cloud images, 'eth0' _is_ the predictable device name, since
|
# For cloud images, 'eth0' _is_ the predictable device name, since
|
||||||
|
|||||||
@@ -2,18 +2,6 @@
|
|||||||
#
|
#
|
||||||
# To keep this image minimal it only installs English language. You need to change
|
# To keep this image minimal it only installs English language. You need to change
|
||||||
# yum configuration in order to enable other languages.
|
# yum configuration in order to enable other languages.
|
||||||
#
|
|
||||||
### Hacking on this image ###
|
|
||||||
# This kickstart is processed using Anaconda-in-ImageFactory (via Koji typically),
|
|
||||||
# but you can run imagefactory locally too.
|
|
||||||
#
|
|
||||||
# To do so, testing local changes, first you'll need a TDL file. I store one here:
|
|
||||||
# https://git.fedorahosted.org/cgit/fedora-atomic.git/tree/fedora-atomic-rawhide.tdl
|
|
||||||
#
|
|
||||||
# Then, once you have imagefactory and imagefactory-plugins installed, run:
|
|
||||||
#
|
|
||||||
# imagefactory --debug target_image --template /path/to/fedora-atomic-rawhide.tdl --parameter offline_icicle true --file-parameter install_script $(pwd)/fedora-docker-base.ks docker
|
|
||||||
#
|
|
||||||
|
|
||||||
cmdline
|
cmdline
|
||||||
bootloader --location=none
|
bootloader --location=none
|
||||||
@@ -21,6 +9,7 @@ timezone --isUtc --nontp Etc/UTC
|
|||||||
rootpw --plaintext qweqwe
|
rootpw --plaintext qweqwe
|
||||||
|
|
||||||
keyboard us
|
keyboard us
|
||||||
|
firewall --disable
|
||||||
zerombr
|
zerombr
|
||||||
clearpart --all
|
clearpart --all
|
||||||
part / --size 3000 --fstype ext4
|
part / --size 3000 --fstype ext4
|
||||||
@@ -32,8 +21,7 @@ bash
|
|||||||
fedora-release
|
fedora-release
|
||||||
rootfiles
|
rootfiles
|
||||||
vim-minimal
|
vim-minimal
|
||||||
dnf
|
yum
|
||||||
dnf-yum # https://fedorahosted.org/fesco/ticket/1312#comment:29
|
|
||||||
#fakesystemd #TODO: waiting for review https://bugzilla.redhat.com/show_bug.cgi?id=1118740
|
#fakesystemd #TODO: waiting for review https://bugzilla.redhat.com/show_bug.cgi?id=1118740
|
||||||
-kernel
|
-kernel
|
||||||
|
|
||||||
|
|||||||
@@ -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 --excludepkgs=fedora-productimg-workstation,fedora-productimg-server
|
#repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch --excludepkgs=fedora-productimg-workstation,fedora-productimg-server
|
||||||
repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch --excludepkgs=fedora-productimg-workstation,fedora-productimg-server
|
#repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch --excludepkgs=fedora-productimg-workstation,fedora-productimg-server
|
||||||
|
|
||||||
# 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 --excludepkgs=fedora-productimg-workstation,fedora-productimg-server
|
repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch --excludepkgs=fedora-productimg-workstation,fedora-productimg-server
|
||||||
#repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch --excludepkgs=fedora-productimg-workstation,fedora-productimg-server
|
repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch --excludepkgs=fedora-productimg-workstation,fedora-productimg-server
|
||||||
|
|
||||||
# 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 --excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
|
#repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
|
||||||
repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
|
#repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
|
||||||
|
|
||||||
# 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 --excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
|
repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
|
||||||
#repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
|
repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-workstation
|
||||||
|
|
||||||
# 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)
|
||||||
@@ -81,7 +81,6 @@ dracut-*
|
|||||||
@headless-management
|
@headless-management
|
||||||
@container-management
|
@container-management
|
||||||
@domain-client
|
@domain-client
|
||||||
@server-hardware-support
|
|
||||||
|
|
||||||
# Common server packages
|
# Common server packages
|
||||||
@mysql
|
@mysql
|
||||||
|
|||||||
@@ -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 --excludepkgs=fedora-productimg-cloud,fedora-productimg-server
|
#repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-server
|
||||||
repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-server
|
#repo --name=rawhide-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-server
|
||||||
|
|
||||||
# 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 --excludepkgs=fedora-productimg-cloud,fedora-productimg-server
|
repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-server
|
||||||
#repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-server
|
repo --name=fedora-source --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch --excludepkgs=fedora-productimg-cloud,fedora-productimg-server
|
||||||
|
|
||||||
%include fedora-workstation-packages.ks
|
%include fedora-workstation-packages.ks
|
||||||
|
|
||||||
|
|||||||
@@ -305,9 +305,6 @@ if [ -x /usr/bin/fc-cache ] ; then
|
|||||||
fc-cache -f
|
fc-cache -f
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo 'File created by kickstart. See systemd-update-done.service(8).' \
|
|
||||||
| tee /etc/.updated >/var/.updated
|
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -13,11 +13,14 @@
|
|||||||
part / --size 8192
|
part / --size 8192
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
|
|
||||||
# graphics
|
# graphics
|
||||||
blender
|
blender
|
||||||
LuxRender-blender
|
LuxRender-blender
|
||||||
YafaRay-blender
|
YafaRay-blender
|
||||||
bluefish
|
bluefish
|
||||||
|
#cinepaint
|
||||||
|
#cmyktool
|
||||||
colord-extra-profiles
|
colord-extra-profiles
|
||||||
darktable
|
darktable
|
||||||
dia
|
dia
|
||||||
@@ -107,9 +110,9 @@ chmod a+x /usr/share/applications/list-design-tutorials.desktop
|
|||||||
# Add information about Fedora Design Suite
|
# Add information about Fedora Design Suite
|
||||||
cat >> /usr/share/applications/fedora-design-suite.desktop << FOE
|
cat >> /usr/share/applications/fedora-design-suite.desktop << FOE
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=Design Suite Info
|
Name=About Design Team
|
||||||
GenericName=About Design Suite
|
GenericName=About Design Team
|
||||||
Comment=Wiki page of Design Suite
|
Comment=Wiki page of Design Team
|
||||||
Exec=xdg-open http://fedoraproject.org/wiki/Design_Suite
|
Exec=xdg-open http://fedoraproject.org/wiki/Design_Suite
|
||||||
Type=Application
|
Type=Application
|
||||||
Icon=applications-internet
|
Icon=applications-internet
|
||||||
@@ -120,8 +123,8 @@ chmod a+x /usr/share/applications/fedora-design-suite.desktop
|
|||||||
# Add information about Fedora Design Team
|
# Add information about Fedora Design Team
|
||||||
cat >> /usr/share/applications/fedora-design-team.desktop << FOE
|
cat >> /usr/share/applications/fedora-design-team.desktop << FOE
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=Design Team Info
|
Name=About Design Suite
|
||||||
GenericName=About Design Team
|
GenericName=About Design Suite Wiki Page
|
||||||
Comment=Wiki page of Design Team
|
Comment=Wiki page of Design Team
|
||||||
Exec=xdg-open http://fedoraproject.org/wiki/Design
|
Exec=xdg-open http://fedoraproject.org/wiki/Design
|
||||||
Type=Application
|
Type=Application
|
||||||
|
|||||||
@@ -199,12 +199,12 @@ thunderbird
|
|||||||
%post
|
%post
|
||||||
|
|
||||||
#setup kickoff favorites
|
#setup kickoff favorites
|
||||||
/bin/mkdir -p /etc/skel/.config
|
/bin/mkdir -p /etc/skel/.kde/share/config
|
||||||
|
|
||||||
JAMFAVORITES=/usr/share/applications/firefox.desktop,/usr/share/applications/qjackctl.desktop,/usr/share/applications/qtractor.desktop,/usr/share/applications/frescobaldi.desktop,/usr/share/applications/org.kde.konsole.desktop,/usr/share/applications/kde4/dolphin.desktop,/usr/share/applications/systemsettings.desktop,/usr/share/applications/pavucontrol.desktop,/usr/share/applications/kde4/kfmclient_html.desktop,/usr/share/applications/kde4/Kontact.desktop,/usr/share/applications/kde4/ktp-contactlist.desktop
|
JAMFAVORITES=/usr/share/applications/firefox.desktop,/usr/share/applications/qjackctl.desktop,/usr/share/applications/qtractor.desktop,/usr/share/applications/frescobaldi.desktop,/usr/share/applications/kde4/konsole.desktop,/usr/share/applications/kde4/dolphin.desktop,/usr/share/applications/kde4/systemsettings.desktop
|
||||||
JAMFAVORITESLIVE=/usr/share/applications/liveinst.desktop,$JAMFAVORITES
|
JAMFAVORITESLIVE=/usr/share/applications/liveinst.desktop,$JAMFAVORITES
|
||||||
|
|
||||||
cat <<EOF >> /etc/skel/.config/kickoffrc
|
cat <<EOF >> /etc/skel/.kde/share/config/kickoffrc
|
||||||
[Favorites]
|
[Favorites]
|
||||||
FavoriteURLs=$JAMFAVORITES
|
FavoriteURLs=$JAMFAVORITES
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
@@ -13,16 +13,16 @@ DESKTOP="KDE"
|
|||||||
DISPLAYMANAGER="KDE"
|
DISPLAYMANAGER="KDE"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# set default GTK+ theme for root (see #683855, #689070, #808062)
|
# make oxygen-gtk the default GTK+ theme for root (see #683855, #689070, #808062)
|
||||||
cat > /root/.gtkrc-2.0 << EOF
|
cat > /root/.gtkrc-2.0 << EOF
|
||||||
include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc"
|
include "/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc"
|
||||||
include "/etc/gtk-2.0/gtkrc"
|
include "/etc/gtk-2.0/gtkrc"
|
||||||
gtk-theme-name="Adwaita"
|
gtk-theme-name="oxygen-gtk"
|
||||||
EOF
|
EOF
|
||||||
mkdir -p /root/.config/gtk-3.0
|
mkdir -p /root/.config/gtk-3.0
|
||||||
cat > /root/.config/gtk-3.0/settings.ini << EOF
|
cat > /root/.config/gtk-3.0/settings.ini << EOF
|
||||||
[Settings]
|
[Settings]
|
||||||
gtk-theme-name = Adwaita
|
gtk-theme-name = oxygen-gtk
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# add initscript
|
# add initscript
|
||||||
@@ -52,10 +52,10 @@ SDDM_EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# add liveinst.desktop to favorites menu
|
# add liveinst.desktop to favorites menu
|
||||||
mkdir -p /home/liveuser/.config/
|
mkdir -p /home/liveuser/.kde/share/config/
|
||||||
cat > /home/liveuser/.config/kickoffrc << MENU_EOF
|
cat > /home/liveuser/.kde/share/config/kickoffrc << MENU_EOF
|
||||||
[Favorites]
|
[Favorites]
|
||||||
FavoriteURLs=/usr/share/applications/kde4/kfmclient_html.desktop,/usr/share/applications/kde4/dolphin.desktop,/usr/share/applications/systemsettings.desktop,/usr/share/applications/org.kde.konsole.desktop,/usr/share/applications/liveinst.desktop
|
FavoriteURLs=/usr/share/applications/kde4/konqbrowser.desktop,/usr/share/applications/kde4/dolphin.desktop,/usr/share/applications/kde4/systemsettings.desktop,/usr/share/applications/liveinst.desktop
|
||||||
MENU_EOF
|
MENU_EOF
|
||||||
|
|
||||||
# show liveinst.desktop on desktop and in menu
|
# show liveinst.desktop on desktop and in menu
|
||||||
@@ -107,6 +107,15 @@ cat > /home/liveuser/.kde/share/config/kres-migratorrc << KRES_EOF
|
|||||||
Enabled=false
|
Enabled=false
|
||||||
KRES_EOF
|
KRES_EOF
|
||||||
|
|
||||||
|
# Disable nepomuk
|
||||||
|
cat > /home/liveuser/.kde/share/config/nepomukserverrc << NEPOMUK_EOF
|
||||||
|
[Basic Settings]
|
||||||
|
Start Nepomuk=false
|
||||||
|
|
||||||
|
[Service-nepomukfileindexer]
|
||||||
|
autostart=false
|
||||||
|
NEPOMUK_EOF
|
||||||
|
|
||||||
# make sure to set the right permissions and selinux contexts
|
# make sure to set the right permissions and selinux contexts
|
||||||
chown -R liveuser:liveuser /home/liveuser/
|
chown -R liveuser:liveuser /home/liveuser/
|
||||||
restorecon -R /home/liveuser/
|
restorecon -R /home/liveuser/
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
%include fedora-live-base.ks
|
%include fedora-live-base.ks
|
||||||
%include fedora-mate-packages.ks
|
%include fedora-mate-packages.ks
|
||||||
|
|
||||||
part / --size 6144
|
part / --size 4096
|
||||||
|
|
||||||
%post
|
%post
|
||||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||||
|
|||||||
@@ -12,12 +12,6 @@
|
|||||||
caja-actions
|
caja-actions
|
||||||
mate-disk-usage-analyzer
|
mate-disk-usage-analyzer
|
||||||
mate-netspeed
|
mate-netspeed
|
||||||
mate-themes-extras
|
|
||||||
|
|
||||||
# more backgrounds
|
|
||||||
f22-backgrounds-mate
|
|
||||||
f21-backgrounds-extras-base
|
|
||||||
f21-backgrounds-extras-mate
|
|
||||||
|
|
||||||
# system tools
|
# system tools
|
||||||
system-config-printer
|
system-config-printer
|
||||||
@@ -32,12 +26,17 @@ audacious
|
|||||||
# dsl tools
|
# dsl tools
|
||||||
rp-pppoe
|
rp-pppoe
|
||||||
|
|
||||||
|
# First, no office
|
||||||
|
#-planner
|
||||||
|
|
||||||
# Drop things for size
|
# Drop things for size
|
||||||
-@3d-printing
|
-@3d-printing
|
||||||
-brasero
|
-brasero
|
||||||
-bluez
|
-bluez
|
||||||
-bluez-cups
|
-bluez-cups
|
||||||
-colord
|
-colord
|
||||||
|
-@dial-up
|
||||||
|
-espeak
|
||||||
-fedora-icon-theme
|
-fedora-icon-theme
|
||||||
-GConf2
|
-GConf2
|
||||||
-gnome-bluetooth-libs
|
-gnome-bluetooth-libs
|
||||||
@@ -64,9 +63,10 @@ rp-pppoe
|
|||||||
# Help and art can be big, too
|
# Help and art can be big, too
|
||||||
-gnome-user-docs
|
-gnome-user-docs
|
||||||
-evolution-help
|
-evolution-help
|
||||||
|
-desktop-backgrounds-basic
|
||||||
|
-*backgrounds-extras
|
||||||
|
|
||||||
# Legacy cmdline things we don't want
|
# Legacy cmdline things we don't want
|
||||||
-telnet
|
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|||||||
59
fedora-livedvd-electronic_lab.ks
Normal file
59
fedora-livedvd-electronic_lab.ks
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
# Description : Live DVD image for Fedora/Free Electronic Lab
|
||||||
|
#
|
||||||
|
# Maintainer(s):
|
||||||
|
# - Chitlesh Goorah <chitlesh a fedoraproject.org>
|
||||||
|
# - Thibault North <tnorth a fedoraproject.org>
|
||||||
|
|
||||||
|
%include fedora-live-workstation.ks
|
||||||
|
|
||||||
|
# DVD payload
|
||||||
|
part / --size 10240
|
||||||
|
|
||||||
|
%packages
|
||||||
|
|
||||||
|
@electronic-lab
|
||||||
|
|
||||||
|
# Support for the Milkymist hardware community
|
||||||
|
@milkymist
|
||||||
|
|
||||||
|
|
||||||
|
# Office
|
||||||
|
dia
|
||||||
|
vym
|
||||||
|
libreoffice-writer
|
||||||
|
libreoffice-calc
|
||||||
|
libreoffice-impress
|
||||||
|
#libreoffice-extendedPDF
|
||||||
|
planner
|
||||||
|
graphviz
|
||||||
|
|
||||||
|
|
||||||
|
# debugging tools
|
||||||
|
make
|
||||||
|
gdb
|
||||||
|
valgrind
|
||||||
|
kdbg
|
||||||
|
wireshark-gnome
|
||||||
|
qemu
|
||||||
|
|
||||||
|
|
||||||
|
# EDA/CAD department
|
||||||
|
perl-Test-Pod
|
||||||
|
perl-Test-Pod-Coverage
|
||||||
|
|
||||||
|
|
||||||
|
# Removing unnecessary packages from the desktop spin
|
||||||
|
-abiword
|
||||||
|
-@games
|
||||||
|
-gimp
|
||||||
|
-gimp-libs
|
||||||
|
-gimp-data-extras
|
||||||
|
-kdebluetooth
|
||||||
|
-kbluetooth
|
||||||
|
-rdesktop
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
|
%post
|
||||||
|
|
||||||
|
%end
|
||||||
@@ -33,7 +33,7 @@ asc
|
|||||||
asc-music
|
asc-music
|
||||||
astromenace
|
astromenace
|
||||||
beneath-a-steel-sky-cd
|
beneath-a-steel-sky-cd
|
||||||
boswars
|
#boswars # currently not building
|
||||||
btanks
|
btanks
|
||||||
bzflag
|
bzflag
|
||||||
crossfire-client
|
crossfire-client
|
||||||
|
|||||||
@@ -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