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