mirror of
https://github.com/PhyllomeOS/phyllomeos.git
synced 2024-12-22 13:05:17 +00:00
refactor of base-live
This commit is contained in:
parent
24326e10a2
commit
2e353d35b9
@ -9,17 +9,9 @@
|
|||||||
|
|
||||||
# text # Perform installation in text mode
|
# text # Perform installation in text mode
|
||||||
|
|
||||||
repo --name=fedora --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch # Official Fedora mirror
|
keyboard --xlayouts='ch (fr)' # set keyboard layouts for Romandie
|
||||||
repo --name=updates --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch # Official Fedora updates mirror
|
lang en_US.UTF-8 # Set system language to American English. More languages could be supported: --addsupport=cs_CZ,de_DE,en_UK
|
||||||
# #repo --name=updates-testing --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f$releasever&arch=$basearch
|
timezone Europe/Paris --utc # Set system timezone to Paris
|
||||||
url --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch # Official Fedora updates mirror
|
|
||||||
|
|
||||||
keyboard --xlayouts='ch (fr)' # set keyboard layouts for Romandie # Unnecessary if using inital-setup
|
|
||||||
lang en_US.UTF-8 # Set system language to American English # Unnecessary if using inital-setup
|
|
||||||
timezone Europe/Paris --utc # Set System timezone to Paris # Unnecessary if using inital-setup
|
|
||||||
# lang en_US.UTF-8
|
|
||||||
# keyboard us
|
|
||||||
# timezone US/Eastern
|
|
||||||
|
|
||||||
selinux --enforcing # Make sure SELinux is in enforced mode
|
selinux --enforcing # Make sure SELinux is in enforced mode
|
||||||
firewall --enabled --service=mdns
|
firewall --enabled --service=mdns
|
||||||
@ -30,7 +22,7 @@ firewall --enabled --service=mdns
|
|||||||
|
|
||||||
zerombr
|
zerombr
|
||||||
clearpart --all
|
clearpart --all
|
||||||
part / --size 5120
|
# part / --size 5120
|
||||||
# bootloader --timeout=2
|
# bootloader --timeout=2
|
||||||
|
|
||||||
# services --enabled=NetworkManager --disabled=sshd
|
# services --enabled=NetworkManager --disabled=sshd
|
||||||
@ -418,7 +410,7 @@ touch /etc/machine-id
|
|||||||
%end
|
%end
|
||||||
|
|
||||||
|
|
||||||
%post --nochroot
|
%post --nochroot --log=/mnt/sysimage/opt/base-live.log
|
||||||
# For livecd-creator builds only (lorax/livemedia-creator handles this directly)
|
# For livecd-creator builds only (lorax/livemedia-creator handles this directly)
|
||||||
if [ -n "$LIVE_ROOT" ]; then
|
if [ -n "$LIVE_ROOT" ]; then
|
||||||
cp "$INSTALL_ROOT"/usr/share/licenses/*-release-common/* "$LIVE_ROOT/"
|
cp "$INSTALL_ROOT"/usr/share/licenses/*-release-common/* "$LIVE_ROOT/"
|
||||||
|
Loading…
Reference in New Issue
Block a user