mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-12 01:50:30 +08:00
Compare commits
73 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a40ab7b175 | ||
|
|
769827f2e7 | ||
|
|
4dc7946ad4 | ||
|
|
ed4f6a9e88 | ||
|
|
6ba647a663 | ||
|
|
77955c8fc4 | ||
|
|
5a5764090a | ||
|
|
9390940213 | ||
|
|
21696187bb | ||
|
|
1e1a531b9b | ||
|
|
ca057bc830 | ||
|
|
1dd0bbf214 | ||
|
|
1b5f493b33 | ||
|
|
181d3e9f8c | ||
|
|
561734e70a | ||
|
|
16945e23fd | ||
|
|
a5726d984b | ||
|
|
e371dd6c3c | ||
|
|
16e4985f71 | ||
|
|
d31028b685 | ||
|
|
905732e333 | ||
|
|
29ca666dc8 | ||
|
|
1564226c33 | ||
|
|
1858982a84 | ||
|
|
839fa597dd | ||
|
|
75ed8bb376 | ||
|
|
21545e84d6 | ||
|
|
7b59a6dc2a | ||
|
|
042f73d0f7 | ||
|
|
7d0d94b23d | ||
|
|
e9003cbbe9 | ||
|
|
e1cac52dcc | ||
|
|
c3c01cfa0a | ||
|
|
512d03deb0 | ||
|
|
85f7fb5737 | ||
|
|
961b78fbd8 | ||
|
|
bf523267e2 | ||
|
|
f2ad1bb926 | ||
|
|
0840fc1394 | ||
|
|
1546029c57 | ||
|
|
d90cbcb855 | ||
|
|
cba7d68879 | ||
|
|
71c243e572 | ||
|
|
44178ef0b3 | ||
|
|
6eee3644ad | ||
|
|
a9a49fa3d6 | ||
|
|
d4fa62eaab | ||
|
|
86e274f415 | ||
|
|
15dc7a2e7f | ||
|
|
31bf6a37fc | ||
|
|
59b44979a6 | ||
|
|
e897975918 | ||
|
|
5a91df2b97 | ||
|
|
1f694b994d | ||
|
|
125219301c | ||
|
|
cbb26ee210 | ||
|
|
bbdcdea977 | ||
|
|
747ea887ce | ||
|
|
d07dcbc903 | ||
|
|
0b9cfd0610 | ||
|
|
d2984eca0c | ||
|
|
04ec5daa6b | ||
|
|
d35b26ba04 | ||
|
|
85e047bbe7 | ||
|
|
7523a5030d | ||
|
|
4aa36b37f9 | ||
|
|
579cdeeac1 | ||
|
|
d44fc9d737 | ||
|
|
ac0bcc76c4 | ||
|
|
10259ee324 | ||
|
|
0eb6b1bf31 | ||
|
|
cf6ffa1988 | ||
|
|
ab42e2ad26 |
@@ -1,9 +0,0 @@
|
|||||||
Congratulations, you've successfully created a SparkleShare repository!
|
|
||||||
|
|
||||||
Any files you add or change in this folder will be automatically synced to
|
|
||||||
ssh://luya@git.fedorahosted.org/git/spin-kickstarts.git and everyone connected to it.
|
|
||||||
|
|
||||||
SparkleShare is an Open Source software program that helps people collaborate and
|
|
||||||
share files. If you like what we do, consider buying us a beer: http://www.sparkleshare.org/
|
|
||||||
|
|
||||||
Have fun! :)
|
|
||||||
@@ -7,7 +7,7 @@ firewall --enabled --service=mdns,ssh
|
|||||||
# configure extlinux bootloader
|
# configure extlinux bootloader
|
||||||
bootloader extlinux
|
bootloader extlinux
|
||||||
|
|
||||||
part /boot --size=512 --fstype ext3
|
part /boot --size=300 --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,6 +1,5 @@
|
|||||||
%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
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
%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"
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
services --disabled=cloud-init,cloud-init-local,cloud-config,cloud-final
|
services --disabled=cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||||
|
|
||||||
user --name=vagrant --password=vagrant
|
user --name=vagrant --password=vagrant
|
||||||
|
rootpw vagrant
|
||||||
|
|
||||||
%post --erroronfail
|
%post --erroronfail
|
||||||
|
|
||||||
|
|||||||
@@ -33,14 +33,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/22/ --ref=fedora-atomic/f22/x86_64/docker-host
|
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=http://kojipkgs.fedoraproject.org/mash/atomic/rawhide/ --ref=fedora-atomic/rawhide/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 'https://dl.fedoraproject.org/pub/fedora/linux/atomic/22/'
|
ostree remote add --set=gpg-verify=false fedora-atomic 'http://dl.fedoraproject.org/pub/fedora/linux/atomic/rawhide/'
|
||||||
|
|
||||||
# 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
|
||||||
@@ -48,10 +48,6 @@ passwd -l root
|
|||||||
# remove the user anaconda forces us to make
|
# remove the user anaconda forces us to make
|
||||||
userdel -r none
|
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"
|
echo -n "Getty fixes"
|
||||||
# although we want console output going to the serial console, we don't
|
# although we want console output going to the serial console, we don't
|
||||||
# actually have the opportunity to login there. FIX.
|
# actually have the opportunity to login there. FIX.
|
||||||
@@ -59,6 +55,13 @@ echo -n "Getty fixes"
|
|||||||
sed -i '/^#NAutoVTs=.*/ a\
|
sed -i '/^#NAutoVTs=.*/ a\
|
||||||
NAutoVTs=0' /etc/systemd/logind.conf
|
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
|
# For cloud images, 'eth0' _is_ the predictable device name, since
|
||||||
# we don't want to be tied to specific virtual (!) hardware
|
# we don't want to be tied to specific virtual (!) hardware
|
||||||
rm -f /etc/udev/rules.d/70*
|
rm -f /etc/udev/rules.d/70*
|
||||||
|
|||||||
@@ -28,6 +28,10 @@ bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,11520
|
|||||||
# layer for dnf
|
# layer for dnf
|
||||||
# TODO: Teach vagrant about dnf
|
# TODO: Teach vagrant about dnf
|
||||||
dnf-yum
|
dnf-yum
|
||||||
|
# rsync gets installed when the Vagrant box is first launched on the
|
||||||
|
# users setup. This can actually take a bit of time. Just fold it
|
||||||
|
# in to the base box disk image
|
||||||
|
rsync
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post --erroronfail
|
%post --erroronfail
|
||||||
|
|||||||
@@ -7,9 +7,22 @@
|
|||||||
# 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 appliance-creator and
|
# This kickstart file is designed to be used with ImageFactory (in Koji).
|
||||||
# may need slight modification for use with actual anaconda or other tools.
|
#
|
||||||
# We intend to target anaconda-in-a-vm style image building for F20.
|
# To do a local build, you'll need to install ImageFactory. See
|
||||||
|
# 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 -c 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
|
||||||
@@ -30,7 +43,7 @@ services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config
|
|||||||
|
|
||||||
zerombr
|
zerombr
|
||||||
clearpart --all
|
clearpart --all
|
||||||
part / --size 3000 --fstype ext4
|
part / --size 3000 --fstype ext4 --grow
|
||||||
|
|
||||||
%include fedora-repo.ks
|
%include fedora-repo.ks
|
||||||
|
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -110,9 +110,6 @@ 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 Suite
|
|
||||||
GenericName=About Design Suite
|
|
||||||
Comment=Wiki page of Design Suite
|
|
||||||
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
|
||||||
@@ -125,8 +122,6 @@ 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 Team
|
|
||||||
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
|
||||||
@@ -139,3 +134,4 @@ 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
|
||||||
|
|
||||||
|
|||||||
@@ -23,20 +23,15 @@ f21-backgrounds-extras-mate
|
|||||||
system-config-printer
|
system-config-printer
|
||||||
system-config-printer-applet
|
system-config-printer-applet
|
||||||
|
|
||||||
|
# audio player
|
||||||
|
audacious
|
||||||
|
|
||||||
# office
|
# office
|
||||||
@libreoffice
|
@libreoffice
|
||||||
|
|
||||||
# dsl tools
|
# dsl tools
|
||||||
rp-pppoe
|
rp-pppoe
|
||||||
|
|
||||||
# audio video
|
|
||||||
parole
|
|
||||||
exaile
|
|
||||||
PackageKit-gstreamer-plugin
|
|
||||||
|
|
||||||
# blacklist applications who breaks mate desktop
|
|
||||||
-audacious
|
|
||||||
|
|
||||||
# Drop things for size
|
# Drop things for size
|
||||||
-@3d-printing
|
-@3d-printing
|
||||||
-brasero
|
-brasero
|
||||||
|
|||||||
@@ -171,10 +171,6 @@ hevea
|
|||||||
#Include Mozilla Firefox
|
#Include Mozilla Firefox
|
||||||
firefox
|
firefox
|
||||||
|
|
||||||
# Omit KDE 4 translations for now: https://bugzilla.redhat.com/show_bug.cgi?id=1197940
|
|
||||||
-kde-l10n-*
|
|
||||||
-calligra-l10n-*
|
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ ccsm
|
|||||||
emerald-themes
|
emerald-themes
|
||||||
emerald
|
emerald
|
||||||
fusion-icon
|
fusion-icon
|
||||||
|
fusion-icon-gtk
|
||||||
@libreoffice
|
@libreoffice
|
||||||
@networkmanager-submodules
|
@networkmanager-submodules
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -1,72 +0,0 @@
|
|||||||
# Kickstart file to create a small "base" Fedora image install suitable
|
|
||||||
# for use as e.g. an application server.
|
|
||||||
#
|
|
||||||
# Maintainer: fedora-cloud-list@fedoraproject.org
|
|
||||||
#
|
|
||||||
# REQUIRED variables:
|
|
||||||
# @@PUBLIC_KEY@@ - ssh public key
|
|
||||||
#
|
|
||||||
# You must search for all required variables and replace them.
|
|
||||||
# Example usage:
|
|
||||||
# sed -e s,@@PUBLIC_KEY@@,"$(cat ~/.ssh/authorized_keys)", fedora-virt-server.ks.in > my-fedora-server.ks
|
|
||||||
|
|
||||||
lang C
|
|
||||||
keyboard us
|
|
||||||
timezone --utc GMT/Zulu
|
|
||||||
auth --useshadow --enablemd5
|
|
||||||
firewall --service=ssh
|
|
||||||
bootloader --timeout=1 --append="acpi=force"
|
|
||||||
network --bootproto=dhcp --device=eth0 --onboot=on
|
|
||||||
services --enabled=network
|
|
||||||
|
|
||||||
## IMPORTANT ##
|
|
||||||
## EDIT HERE ##
|
|
||||||
# ROOT PASSWORD:
|
|
||||||
# Setting a root password is NOT RECOMMENDED, especially if your
|
|
||||||
# server will be accessible to the public internet. This is
|
|
||||||
# because of the rise of automated ssh password guessing attacks.
|
|
||||||
# You should instead (if you don't have one already)
|
|
||||||
# generate a public ssh key:
|
|
||||||
# http://sial.org/howto/openssh/publickey-auth/
|
|
||||||
#
|
|
||||||
# See comment below in %post for authorizing your public
|
|
||||||
# key for the root account.
|
|
||||||
|
|
||||||
rootpw ""
|
|
||||||
|
|
||||||
# However, if you choose instead to make a password,
|
|
||||||
# you will need to replace the above line with one like
|
|
||||||
# rootpw --iscrypted @@ROOT_PASSWORD_CRYPTED@@
|
|
||||||
# If you do neither of these things, you will not be able to log
|
|
||||||
# into your machine.
|
|
||||||
|
|
||||||
clearpart --all --initlabel
|
|
||||||
part / --size=550 --grow --fstype=ext4
|
|
||||||
# You may change this if you don't want swap
|
|
||||||
part swap --recommended
|
|
||||||
|
|
||||||
%packages
|
|
||||||
@standard
|
|
||||||
%end
|
|
||||||
|
|
||||||
#
|
|
||||||
# Add custom post scripts after the base post.
|
|
||||||
#
|
|
||||||
%post
|
|
||||||
|
|
||||||
## EDIT HERE ##
|
|
||||||
cd /root
|
|
||||||
if ! test -d .ssh; then
|
|
||||||
mkdir --mode=700 .ssh
|
|
||||||
fi
|
|
||||||
cat >> .ssh/authorized_keys << END_AUTHORIZED_KEYS
|
|
||||||
@@PUBLIC_KEY@@
|
|
||||||
END_AUTHORIZED_KEYS
|
|
||||||
chmod 600 .ssh/authorized_keys
|
|
||||||
if -x /usr/sbin/selinuxenabled && /usr/sbin/selinuxenabled; then
|
|
||||||
chcon -R -h -t home_ssh_t .ssh
|
|
||||||
fi
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
reboot
|
|
||||||
@@ -9,6 +9,7 @@
|
|||||||
# workstation-product-environment in comps
|
# workstation-product-environment in comps
|
||||||
@base-x
|
@base-x
|
||||||
@core
|
@core
|
||||||
|
@firefox
|
||||||
@fonts
|
@fonts
|
||||||
@guest-desktop-agents
|
@guest-desktop-agents
|
||||||
@hardware-support
|
@hardware-support
|
||||||
|
|||||||
Reference in New Issue
Block a user