From e994da3f56262187c08c61c6024d26709b3b9f48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 27 Feb 2017 14:27:41 +0100 Subject: [PATCH] Add kickstarts for Python Classroom Lab See https://pagure.io/fedora-comps/pull-request/79 See https://fedoraproject.org/wiki/Changes/PythonClassroomLab --- fedora-live-python-classroom.ks | 110 +++++++++++++++++++++++++++++ fedora-python-classroom-vagrant.ks | 15 ++++ 2 files changed, 125 insertions(+) create mode 100644 fedora-live-python-classroom.ks create mode 100644 fedora-python-classroom-vagrant.ks diff --git a/fedora-live-python-classroom.ks b/fedora-live-python-classroom.ks new file mode 100644 index 0000000..d8a0220 --- /dev/null +++ b/fedora-live-python-classroom.ks @@ -0,0 +1,110 @@ +# Maintained by the Fedora Python SIG: +# http://fedoraproject.org/wiki/SIGs/Python +# mailto:python-devel@lists.fedoraproject.org + +%include fedora-live-workstation.ks +%include fedora-live-minimization.ks + + +%packages +@python-classroom + +# Remove Pythons possibly recommended by tox +-python26 +-python33 +-python34 +-python35 +-pypy + +# Remove extra gnome-y things +-@graphical-internet +-@games +-@sound-and-video +-@multimedia +-dleyna* +-evolution* +-gnome-boxes +-gnome-calendar +-gnome-clocks +-gnome-contacts +-gnome-disk-utility +-gnome-documents +-gnome-font-viewer +-gnome-maps +-gnome-weather +-grilo-plugins +-cheese +-totem +-totem-nautilus + +# This is no longer workstation +-@workstation-product +-fedora-productimg-workstation + +# Add a web browser +@firefox + +# Remove office suite +-@libreoffice +-libreoffice-* +-planner + +# Drop the Java plugin and Java +-icedtea-web +-java* + +# No printing +-@printing +-foomatic-db-ppds +-foomatic + +# Dictionaries are big +-aspell-* +-hunspell-* +-words + +# Help and art can be big, too +-gnome-user-docs +-desktop-backgrounds-basic +-*backgrounds-extras + +# Legacy cmdline things we don't want +-krb5-auth-dialog +-krb5-workstation +-pam_krb5 +-quota +-dos2unix +-finger +-ftp +-jwhois +-mtr +-pinfo +-rsh +-nfs-utils +-ypbind +-yp-tools +-rpcbind +-acpid +-ntsysv + +# Don't need this +-linux-atm + +# Drop some system-config things +-system-config-language +-system-config-network +-system-config-rootpassword +-system-config-services +-policycoreutils-gui + +%end + + + + +%post + +#Override the favorite desktop application in Dash +sed -i "s/favorite-apps=."'*'"/favorite-apps=['firefox.desktop', 'org.gnome.Terminal.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.gedit.desktop', 'anaconda.desktop']/" /etc/rc.d/init.d/livesys + +%end diff --git a/fedora-python-classroom-vagrant.ks b/fedora-python-classroom-vagrant.ks new file mode 100644 index 0000000..158003c --- /dev/null +++ b/fedora-python-classroom-vagrant.ks @@ -0,0 +1,15 @@ +# Like the Python Classroom image, but tuned for vagrant. + +%include fedora-cloud-base-vagrant.ks + +%packages +@python-classroom + +# Remove Pythons possibly recommended by tox +-python26 +-python33 +-python34 +-python35 +-pypy + +%end