mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-12 01:50:30 +08:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7e4f164444 | ||
|
|
1cdbd3ef07 | ||
|
|
e640139976 | ||
|
|
fb34ac6186 |
@@ -33,7 +33,7 @@ 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=https://kojipkgs.fedoraproject.org/compose/atomic/24/ --ref=fedora-atomic/24/x86_64/docker-host
|
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/atomic/24/ --ref=fedora-atomic/24/x86_64/docker-host
|
||||||
|
|
||||||
reboot
|
reboot
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# This is a minimal Fedora install designed to serve as a Docker base image.
|
# This is a minimal Fedora install designed to serve as a Docker base image.
|
||||||
#
|
#
|
||||||
# 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.
|
||||||
@@ -9,9 +9,9 @@
|
|||||||
#
|
#
|
||||||
# To do so, testing local changes, first you'll need a TDL file. I store one here:
|
# 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
|
# https://git.fedorahosted.org/cgit/fedora-atomic.git/tree/fedora-atomic-rawhide.tdl
|
||||||
#
|
#
|
||||||
# Then, once you have imagefactory and imagefactory-plugins installed, run:
|
# 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
|
# 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
|
||||||
#
|
#
|
||||||
|
|
||||||
@@ -83,6 +83,10 @@ sed -i 's/OOMScoreAdjust=-900//' /etc/systemd/system/dbus.service
|
|||||||
#Mask mount units and getty service so that we don't get login prompt
|
#Mask mount units and getty service so that we don't get login prompt
|
||||||
systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connections.mount systemd-logind.service getty.target console-getty.service
|
systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connections.mount systemd-logind.service getty.target console-getty.service
|
||||||
|
|
||||||
|
# Fix /run/lock breakage since it's not tmpfs in docker
|
||||||
|
umount /run
|
||||||
|
systemd-tmpfiles --create --boot
|
||||||
|
|
||||||
rm -f /etc/machine-id
|
rm -f /etc/machine-id
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ cat > /etc/rc.d/init.d/livesys << EOF
|
|||||||
# chkconfig: 345 00 99
|
# chkconfig: 345 00 99
|
||||||
# description: Init script for live image.
|
# description: Init script for live image.
|
||||||
### BEGIN INIT INFO
|
### BEGIN INIT INFO
|
||||||
# X-Start-Before: display-manager
|
# X-Start-Before: display-manager chronyd
|
||||||
### END INIT INFO
|
### END INIT INFO
|
||||||
|
|
||||||
. /etc/init.d/functions
|
. /etc/init.d/functions
|
||||||
|
|||||||
Reference in New Issue
Block a user