Compare commits

...

38 Commits

Author SHA1 Message Date
Luya Tshimbalanga
782967ccba design-suite: fix design suite info 2015-04-21 18:26:00 -07:00
Dennis Gilmore
cd947e0c4a remove the electronic_lab kickstart it has failed to compose the whole f22 cycle 2015-04-21 14:03:13 -05:00
Dennis Gilmore
e17d3d0ba4 Server installs in anaconda default to / on xfs so do so on arm also
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-04-21 08:39:22 -05:00
Peter Robinson
1c25cb6171 ARM minimal: adjust image size now X isn't being pulled in again 2015-04-18 18:37:18 +01:00
Ian McLeod
e171dabdc5 tested refinements to non-atomic vagrant 2015-04-01 22:15:39 -05:00
Stephen Gallagher
d7ef245b83 Fedora Server: re-add @hardware-support 2015-03-31 07:46:29 -04:00
Dan Horák
48296d16ae update Server kickstart to match recent comps updates about hardware support 2015-03-30 18:07:34 +01:00
Kushal Das
b71f67490e Adds DEVTIMEOUT option to /etc/sysconfig/network. #1204612
https://bugzilla.redhat.com/show_bug.cgi?id=1204612
2015-03-27 19:58:26 +05:30
raveit65
9308b5da94 Mate: bump size for livecd creation to 6MB 2015-03-27 13:16:59 +01:00
raveit65
500b85c343 Revert " drop nfs-utils temporarily to avoid slow boot"
This reverts commit 2bd8c367cf.

nfs-utils-1.3.2-2.0.fc22 is in stable
2015-03-26 19:30:10 +01:00
Colin Walters
7f06442f8f Revert "Revert "docker-base: Add dnf-yum" it is not yet acked by FESCo"
Was now agreed http://meetbot.fedoraproject.org/fedora-meeting/2015-03-25/fesco.2015-03-25-18.00.log.html

This reverts commit 9245751e67.
2015-03-25 15:32:01 -04:00
Luya Tshimbalanga
02e041303b design-suite: remove commented packages 2015-03-22 21:09:45 -07:00
Bruno Wolff III
5cb276a2f1 Games: Add back boswars
boswars is building again and no longer has a library conflict.
Hower this will put the games spin very close to 4 GiB and some
more tweaking might be needed.
2015-03-22 22:21:47 -05:00
Colin Walters
7fcc4df93a cloud-atomic: Drop old initscripts network bit
Has never been needed with NM.
2015-03-20 14:08:15 -04:00
Colin Walters
cde583e3a2 cloud-atomic: use dhcp=internal for NetworkManager
This uses systemd's DHCP library, and drops dhclient out of the
picture, which saves RAM.
2015-03-20 14:08:15 -04:00
Dennis Gilmore
9245751e67 Revert "docker-base: Add dnf-yum" it is not yet acked by FESCo
This reverts commit cd820f7630.
2015-03-19 20:06:57 -05:00
Colin Walters
5e9e250c1d cloud-atomic: Disable network.service
https://lists.fedoraproject.org/pipermail/cloud/2015-March/005131.html
2015-03-19 21:03:34 -04:00
Colin Walters
ba3bedacb3 cloud-atomic: Add a more explanatory comment header 2015-03-19 21:03:23 -04:00
Colin Walters
cd820f7630 docker-base: Add dnf-yum
Per the FESCo ticket.
2015-03-19 18:12:16 -04:00
Colin Walters
fb6bcce1be docker-base: Add some instructions for local builds 2015-03-19 18:12:13 -04:00
Colin Walters
d7d0e5ad95 atomic-installer: Update scripts
These are now based on
https://github.com/rhinstaller/lorax/pull/8
2015-03-19 18:11:54 -04:00
Brendan Jones
9fa38d0117 jam: change kde config location 2015-03-19 05:38:03 +01:00
Matthew Miller
cf9444b682 add fedora-cloud-base-vagrant.ks based on fedora-cloud-atomic-vagrant
THIS IS JUST A STARTING POINT — untested!
2015-03-18 15:37:20 -04:00
Colin Walters
bfc2901422 lorax-embed-repo: Update to use HTTP-based location
rpm-ostree-toolbox always uses this code path now; we spawn an "ostree
trivial-httpd" even for local use.  That way the same template can be
used for both remote repositories and local ones.
2015-03-16 14:00:04 -05:00
Colin Walters
47ab710fe2 atomic-installer/: New subdirectory with Lorax template
This is migrated from https://github.com/projectatomic/rpm-ostree-toolbox/blob/master/src/py/lorax-embed-repo.tmpl

It is a command template to embed content into the installer.
2015-03-16 13:59:55 -05:00
Dennis Gilmore
0959478eab Remove the firewall line as it causes anaconda to add firewalld to the
package set. revert back to fedora-release
2015-03-16 13:59:47 -05:00
Dennis Gilmore
427657159d pull in fedora-release-cloud to make the docker base image smaller
during install dnf was pulling in fedora-release-server which added a lot of bloat
2015-03-11 16:15:10 -05:00
Rex Dieter
dbe507bd91 kde: nuke nepomuk references 2015-03-11 12:56:39 -05:00
Rex Dieter
0b6884a62e kde: s/oxygen-gtk/Adwaita/ 2015-03-11 12:55:10 -05:00
Rex Dieter
3677a24bd9 kde-base: fix kickstart favorites for plasma5 2015-03-11 08:39:48 -05:00
Brendan Jones
4675f6f6fd jam: modify favourites location 2015-03-11 07:22:33 +01:00
raveit65
2bd8c367cf drop nfs-utils temporarily to avoid slow boot 2015-03-09 16:23:42 +01:00
luya
a7d928767c design-suite: fix correct url for both Design Suite and Design Team shorcuts 2015-03-09 02:39:43 -07:00
luya
f7d3da2878 design-suite: fix correct url for both Design Suite and Design Team shorcuts 2015-03-09 02:35:10 -07:00
luya
131565566b design-suite: fix correct url for both Design Suite and Design Team shorcuts 2015-03-09 02:32:24 -07:00
raveit65
d4d001c549 Mate: add more packages 2015-03-08 15:13:15 +01:00
Dennis Gilmore
db8c33a53f switch teh docker base image to dnf 2015-03-07 11:13:34 -06:00
Kevin Fenzi
16b8801b8e Try this as a fix for ldconfig being so slow on boot on live media. bug 1195998 2015-03-07 07:00:31 -07:00
18 changed files with 140 additions and 108 deletions

View File

@@ -0,0 +1,8 @@
## 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"

View File

@@ -0,0 +1,11 @@
## 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}

View File

@@ -7,7 +7,7 @@ firewall --enabled --service=mdns,ssh
# configure extlinux bootloader
bootloader extlinux
part /boot --size=512 --fstype ext3
part /boot --size=300 --fstype ext3
part swap --size=512 --fstype swap
part / --size=3000 --fstype ext4

View File

@@ -1,7 +1,7 @@
%include fedora-arm-base.ks
part swap --size=128 --fstype swap
part / --size=1400 --fstype ext4
part swap --size=256 --fstype swap
part / --size=1200 --fstype ext4
%packages
-@standard

View File

@@ -1,5 +1,8 @@
%include fedora-arm-base.ks
# server defaults to xfs for / so lets do so on arm also
part / --size=3000 --fstype xfs
%packages
-@fedora-release-nonproduct
-@dial-up

View File

@@ -1,8 +1,10 @@
# Fedora Atomic is a cloud-focused spin implementing the Project Atomic
# patterns.
#
# RIGHT NOW, this is very like the traditional cloud image -- this is
# just a starting point.
# Fedora Atomic is a cloud-focused spin implementing the Project
# Atomic patterns. Note that this replicates the same tree which can
# now be installed on bare metal.
# This image allocates most space to an LVM-managed thin pool
# dedicated for Docker containers, and uses docker-storage-setup to
# dynamically resize storage on boot.
text
lang en_US.UTF-8
@@ -19,7 +21,8 @@ firewall --disabled
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
network --bootproto=dhcp --device=link --activate --onboot=on
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
services --disabled=network
services --enabled=sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
zerombr
clearpart --all
@@ -45,6 +48,10 @@ passwd -l root
# remove the user anaconda forces us to make
userdel -r none
# We can lead the way with the internal DHCP, see
# https://lists.fedoraproject.org/pipermail/cloud/2015-March/005119.html
echo "dhcp=internal" >> /etc/NetworkManager/NetworkManager.conf
echo -n "Getty fixes"
# although we want console output going to the serial console, we don't
# actually have the opportunity to login there. FIX.
@@ -52,13 +59,6 @@ echo -n "Getty fixes"
sed -i '/^#NAutoVTs=.*/ a\
NAutoVTs=0' /etc/systemd/logind.conf
echo -n "Network fixes"
# initscripts don't like this file to be missing.
cat > /etc/sysconfig/network << EOF
NETWORKING=yes
NOZEROCONF=yes
EOF
# For cloud images, 'eth0' _is_ the predictable device name, since
# we don't want to be tied to specific virtual (!) hardware
rm -f /etc/udev/rules.d/70*

View File

@@ -0,0 +1,57 @@
# 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

View File

@@ -142,9 +142,11 @@ NAutoVTs=0' /etc/systemd/logind.conf
echo -n "Network fixes"
# initscripts don't like this file to be missing.
# and https://bugzilla.redhat.com/show_bug.cgi?id=1204612
cat > /etc/sysconfig/network << EOF
NETWORKING=yes
NOZEROCONF=yes
DEVTIMEOUT=10
EOF
# For cloud images, 'eth0' _is_ the predictable device name, since

View File

@@ -2,6 +2,18 @@
#
# To keep this image minimal it only installs English language. You need to change
# 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
bootloader --location=none
@@ -9,7 +21,6 @@ timezone --isUtc --nontp Etc/UTC
rootpw --plaintext qweqwe
keyboard us
firewall --disable
zerombr
clearpart --all
part / --size 3000 --fstype ext4
@@ -21,7 +32,8 @@ bash
fedora-release
rootfiles
vim-minimal
yum
dnf
dnf-yum # https://fedorahosted.org/fesco/ticket/1312#comment:29
#fakesystemd #TODO: waiting for review https://bugzilla.redhat.com/show_bug.cgi?id=1118740
-kernel

View File

@@ -81,6 +81,7 @@ dracut-*
@headless-management
@container-management
@domain-client
@server-hardware-support
# Common server packages
@mysql

View File

@@ -305,6 +305,9 @@ if [ -x /usr/bin/fc-cache ] ; then
fc-cache -f
fi
echo 'File created by kickstart. See systemd-update-done.service(8).' \
| tee /etc/.updated >/var/.updated
%end

View File

@@ -13,14 +13,11 @@
part / --size 8192
%packages
# graphics
blender
LuxRender-blender
YafaRay-blender
bluefish
#cinepaint
#cmyktool
colord-extra-profiles
darktable
dia
@@ -110,9 +107,13 @@ chmod a+x /usr/share/applications/list-design-tutorials.desktop
# Add information about Fedora Design Suite
cat >> /usr/share/applications/fedora-design-suite.desktop << FOE
[Desktop Entry]
Name=Design Suite Info
GenericName=About Design Suite
Comment=Wiki page of Design Suite
Name=About Design Team
GenericName=About Design Team
Comment=Wiki page of Design Team
>>>>>>> d4d001c54999e8f5401ca3f7b5d9b6a2d0132093
Exec=xdg-open http://fedoraproject.org/wiki/Design_Suite
Type=Application
Icon=applications-internet
@@ -123,6 +124,8 @@ chmod a+x /usr/share/applications/fedora-design-suite.desktop
# Add information about Fedora Design Team
cat >> /usr/share/applications/fedora-design-team.desktop << FOE
[Desktop Entry]
Name=Design Team Info
GenericName=About Design Team
Name=About Design Suite
GenericName=About Design Suite Wiki Page
Comment=Wiki page of Design Team

View File

@@ -199,12 +199,12 @@ thunderbird
%post
#setup kickoff favorites
/bin/mkdir -p /etc/skel/.kde/share/config
/bin/mkdir -p /etc/skel/.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/kde4/konsole.desktop,/usr/share/applications/kde4/dolphin.desktop,/usr/share/applications/kde4/systemsettings.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/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
JAMFAVORITESLIVE=/usr/share/applications/liveinst.desktop,$JAMFAVORITES
cat <<EOF >> /etc/skel/.kde/share/config/kickoffrc
cat <<EOF >> /etc/skel/.config/kickoffrc
[Favorites]
FavoriteURLs=$JAMFAVORITES
EOF

View File

@@ -13,16 +13,16 @@ DESKTOP="KDE"
DISPLAYMANAGER="KDE"
EOF
# make oxygen-gtk the default GTK+ theme for root (see #683855, #689070, #808062)
# set default GTK+ theme for root (see #683855, #689070, #808062)
cat > /root/.gtkrc-2.0 << EOF
include "/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc"
include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc"
include "/etc/gtk-2.0/gtkrc"
gtk-theme-name="oxygen-gtk"
gtk-theme-name="Adwaita"
EOF
mkdir -p /root/.config/gtk-3.0
cat > /root/.config/gtk-3.0/settings.ini << EOF
[Settings]
gtk-theme-name = oxygen-gtk
gtk-theme-name = Adwaita
EOF
# add initscript
@@ -52,10 +52,10 @@ SDDM_EOF
fi
# add liveinst.desktop to favorites menu
mkdir -p /home/liveuser/.kde/share/config/
cat > /home/liveuser/.kde/share/config/kickoffrc << MENU_EOF
mkdir -p /home/liveuser/.config/
cat > /home/liveuser/.config/kickoffrc << MENU_EOF
[Favorites]
FavoriteURLs=/usr/share/applications/kde4/konqbrowser.desktop,/usr/share/applications/kde4/dolphin.desktop,/usr/share/applications/kde4/systemsettings.desktop,/usr/share/applications/liveinst.desktop
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
MENU_EOF
# show liveinst.desktop on desktop and in menu
@@ -107,15 +107,6 @@ cat > /home/liveuser/.kde/share/config/kres-migratorrc << KRES_EOF
Enabled=false
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
chown -R liveuser:liveuser /home/liveuser/
restorecon -R /home/liveuser/

View File

@@ -5,7 +5,7 @@
%include fedora-live-base.ks
%include fedora-mate-packages.ks
part / --size 4096
part / --size 6144
%post
cat >> /etc/rc.d/init.d/livesys << EOF

View File

@@ -12,6 +12,12 @@
caja-actions
mate-disk-usage-analyzer
mate-netspeed
mate-themes-extras
# more backgrounds
f22-backgrounds-mate
f21-backgrounds-extras-base
f21-backgrounds-extras-mate
# system tools
system-config-printer
@@ -26,17 +32,12 @@ audacious
# dsl tools
rp-pppoe
# First, no office
#-planner
# Drop things for size
-@3d-printing
-brasero
-bluez
-bluez-cups
-colord
-@dial-up
-espeak
-fedora-icon-theme
-GConf2
-gnome-bluetooth-libs
@@ -63,10 +64,9 @@ rp-pppoe
# Help and art can be big, too
-gnome-user-docs
-evolution-help
-desktop-backgrounds-basic
-*backgrounds-extras
# Legacy cmdline things we don't want
-telnet
%end

View File

@@ -1,59 +0,0 @@
# 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

View File

@@ -33,7 +33,7 @@ asc
asc-music
astromenace
beneath-a-steel-sky-cd
#boswars # currently not building
boswars
btanks
bzflag
crossfire-client