mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-11 01:20:30 +08:00
Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c033c03c08 | ||
|
|
16a5bf2a4d | ||
|
|
6ef2d02a30 | ||
|
|
b8947535a2 | ||
|
|
72a583d4a4 | ||
|
|
7a6f83699b | ||
|
|
76d2df7147 | ||
|
|
1fd1f6d138 | ||
|
|
94ab41ccd3 | ||
|
|
5f90422b0e | ||
|
|
c7094bf8ab | ||
|
|
906bbfee12 | ||
|
|
a9325d0503 | ||
|
|
0a2751d382 |
@@ -4,5 +4,5 @@
|
|||||||
<%page args="ostree_osname, ostree_ref"/>
|
<%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 "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 "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"
|
append usr/share/anaconda/interactive-defaults.ks "%post --erroronfail\nrm -f /etc/ostree/remotes.d/${ostree_osname}.conf\nostree remote add --set=gpg-verify=false fedora-atomic 'http://dl.fedoraproject.org/pub/fedora/linux/atomic/22/'\n%end\n"
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
@@ -23,7 +23,6 @@ services --enabled=ssh,NetworkManager,avahi-daemon,rsyslog,chronyd --disabled=ne
|
|||||||
@standard
|
@standard
|
||||||
@hardware-support
|
@hardware-support
|
||||||
@dial-up
|
@dial-up
|
||||||
@fedora-release-nonproduct
|
|
||||||
|
|
||||||
kernel
|
kernel
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
%include fedora-arm-base.ks
|
%include fedora-arm-base.ks
|
||||||
|
|
||||||
|
part /boot --size=300 --fstype ext3
|
||||||
part swap --size=256 --fstype swap
|
part swap --size=256 --fstype swap
|
||||||
part / --size=1200 --fstype ext4
|
part / --size=1200 --fstype ext4
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
part / --size=3000 --fstype xfs
|
part / --size=3000 --fstype xfs
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
-@fedora-release-nonproduct
|
|
||||||
-@dial-up
|
-@dial-up
|
||||||
# install the default groups for the server evironment since installing the environment is not working
|
# install the default groups for the server evironment since installing the environment is not working
|
||||||
@server-product
|
@server-product
|
||||||
|
|||||||
@@ -16,9 +16,10 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
cmdline
|
cmdline
|
||||||
bootloader --location=none
|
bootloader --disabled
|
||||||
timezone --isUtc --nontp Etc/UTC
|
timezone --isUtc --nontp Etc/UTC
|
||||||
rootpw --plaintext qweqwe
|
rootpw --lock --iscrypted locked
|
||||||
|
user --name=none
|
||||||
|
|
||||||
keyboard us
|
keyboard us
|
||||||
zerombr
|
zerombr
|
||||||
@@ -44,6 +45,9 @@ dnf-yum # https://fedorahosted.org/fesco/ticket/1312#comment:29
|
|||||||
# Set the language rpm nodocs transaction flag persistently in the
|
# Set the language rpm nodocs transaction flag persistently in the
|
||||||
# image yum.conf and rpm macros
|
# image yum.conf and rpm macros
|
||||||
|
|
||||||
|
# remove the user anaconda forces us to make
|
||||||
|
userdel -r none
|
||||||
|
|
||||||
LANG="en_US"
|
LANG="en_US"
|
||||||
echo "%_install_lang $LANG" > /etc/rpm/macros.image-language-conf
|
echo "%_install_lang $LANG" > /etc/rpm/macros.image-language-conf
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,6 @@ services --enabled=NetworkManager --disabled=network,sshd
|
|||||||
@guest-desktop-agents
|
@guest-desktop-agents
|
||||||
@standard
|
@standard
|
||||||
@core
|
@core
|
||||||
@fedora-release-nonproduct
|
|
||||||
@fonts
|
@fonts
|
||||||
@input-methods
|
@input-methods
|
||||||
@dial-up
|
@dial-up
|
||||||
|
|||||||
@@ -110,10 +110,9 @@ cat >> /usr/share/applications/fedora-design-suite.desktop << FOE
|
|||||||
Name=Design Suite Info
|
Name=Design Suite Info
|
||||||
GenericName=About Design Suite
|
GenericName=About Design Suite
|
||||||
Comment=Wiki page of Design Suite
|
Comment=Wiki page of Design Suite
|
||||||
Name=About Design Team
|
Name=About Design Suite
|
||||||
GenericName=About Design Team
|
GenericName=About Design Suite
|
||||||
Comment=Wiki page of Design Team
|
Comment=Wiki page of Design Suite
|
||||||
>>>>>>> d4d001c54999e8f5401ca3f7b5d9b6a2d0132093
|
|
||||||
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
|
||||||
@@ -126,8 +125,8 @@ cat >> /usr/share/applications/fedora-design-team.desktop << FOE
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=Design Team Info
|
Name=Design Team Info
|
||||||
GenericName=About Design Team
|
GenericName=About Design Team
|
||||||
Name=About Design Suite
|
Name=About Design Team
|
||||||
GenericName=About Design Suite Wiki Page
|
GenericName=About Design Team 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
|
||||||
@@ -140,4 +139,3 @@ chmod a+x /usr/share/applications/fedora-design-team.desktop
|
|||||||
glib-compile-schemas /usr/share/glib-2.0/schemas
|
glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ fi
|
|||||||
mkdir -p /home/liveuser/.config/
|
mkdir -p /home/liveuser/.config/
|
||||||
cat > /home/liveuser/.config/kickoffrc << MENU_EOF
|
cat > /home/liveuser/.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/systemsettings.desktop,/usr/share/applications/org.kde.konsole.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
|
||||||
@@ -80,23 +80,13 @@ cat > /home/liveuser/.config/akonadi/akonadiserverrc << AKONADI_EOF
|
|||||||
Driver=QSQLITE3
|
Driver=QSQLITE3
|
||||||
AKONADI_EOF
|
AKONADI_EOF
|
||||||
|
|
||||||
# Disable the update notifications of apper
|
# Disable plasma-pk-updates
|
||||||
cat > /home/liveuser/.kde/share/config/apper << APPER_EOF
|
sed -i \
|
||||||
[CheckUpdate]
|
-e "s|^X-KDE-PluginInfo-EnabledByDefault=true|X-KDE-PluginInfo-EnabledByDefault=false|g" \
|
||||||
autoUpdate=0
|
/usr/share/kservices5/plasma-applet-org.kde.plasma.pkupdates.desktop
|
||||||
distroUpgrade=0
|
|
||||||
interval=0
|
|
||||||
APPER_EOF
|
|
||||||
|
|
||||||
# Disable some kded modules
|
|
||||||
# apperd: http://bugzilla.redhat.com/948099
|
|
||||||
cat > /home/liveuser/.kde/share/config/kdedrc << KDEDRC_EOF
|
|
||||||
[Module-apperd]
|
|
||||||
autoload=false
|
|
||||||
KDEDRC_EOF
|
|
||||||
|
|
||||||
# Disable baloo
|
# Disable baloo
|
||||||
cat > /home/liveuser/.kde/share/config/baloofilerc << BALOO_EOF
|
cat > /home/liveuser/.config/baloofilerc << BALOO_EOF
|
||||||
[Basic Settings]
|
[Basic Settings]
|
||||||
Indexing-Enabled=false
|
Indexing-Enabled=false
|
||||||
BALOO_EOF
|
BALOO_EOF
|
||||||
@@ -111,11 +101,6 @@ KRES_EOF
|
|||||||
chown -R liveuser:liveuser /home/liveuser/
|
chown -R liveuser:liveuser /home/liveuser/
|
||||||
restorecon -R /home/liveuser/
|
restorecon -R /home/liveuser/
|
||||||
|
|
||||||
# small hack to enable plasma-netbook workspace on boot
|
|
||||||
if strstr "\`cat /proc/cmdline\`" netbook ; then
|
|
||||||
mv /usr/share/autostart/plasma-desktop.desktop /usr/share/autostart/plasma-netbook.desktop
|
|
||||||
sed -i 's/desktop/netbook/g' /usr/share/autostart/plasma-netbook.desktop
|
|
||||||
fi
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
# Exclude unwanted groups that fedora-live-base.ks pulls in
|
# Exclude unwanted groups that fedora-live-base.ks pulls in
|
||||||
-@dial-up
|
-@dial-up
|
||||||
-@fedora-release-nonproduct
|
|
||||||
-@input-methods
|
-@input-methods
|
||||||
-@standard
|
-@standard
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user