mirror of
https://github.com/PhyllomeOS/phyllomeos.git
synced 2025-01-26 11:25:16 +00:00
explicitly add necessary packages, add shorter URL
This commit is contained in:
parent
6ae6394945
commit
5b86457d36
@ -10,16 +10,18 @@
|
||||
|
||||
# USAGE : Press the `tab` or 'e' key during POST and apend that after the 'quiet' string :
|
||||
# inst.ks=https://git.phyllo.me/home/kickstart/raw/branch/master/f34/vsmed.cfg
|
||||
# A shorter URL can also be used :
|
||||
# inst.ks=https://url.phyllo.me/vsmed
|
||||
|
||||
# ATTENTION : this kickstart file will automatically DESTROY the main virtual disk 'vda' and all of its contents.
|
||||
# Bye bye!
|
||||
|
||||
## INSTALLATION SOURCE ##
|
||||
|
||||
# Configure cdrom as installation method
|
||||
# Configure the cdrom as the installation method
|
||||
cdrom
|
||||
|
||||
# URL is required even for cdrom installation
|
||||
# Set URL
|
||||
url --url="http://download.fedoraproject.org/pub/fedora/linux/releases/34/Server/x86_64/os"
|
||||
|
||||
## INSTALLATION TYPE ##
|
||||
@ -29,14 +31,14 @@ text
|
||||
|
||||
## REPOSITORIES ##
|
||||
|
||||
# Add repo and mirror
|
||||
# Add mirro and repo
|
||||
url --mirrorlist="https://mirrors.fedoraproject.org/metalink?repo=fedora-34&arch=x86_64"
|
||||
repo --name=fedora-updates --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f34&arch=x86_64" --cost=0
|
||||
|
||||
## USER RELATED ##
|
||||
|
||||
# Keyboard layouts -> Doesn't seem to survive a reboot
|
||||
keyboard fr-ch
|
||||
keyboard --xlayouts='ch (fr)'
|
||||
|
||||
# Set the system language to American English
|
||||
lang en_US.UTF-8
|
||||
@ -85,6 +87,21 @@ part / --fstype="ext4" --ondisk=vda --grow --label=system
|
||||
|
||||
# Install packages for the server environment. 'Core' and 'Base' are always selected
|
||||
%packages
|
||||
@core
|
||||
kernel
|
||||
chrony
|
||||
firewalld
|
||||
e2fsprogs
|
||||
dosfstools
|
||||
grub2-efi-x64
|
||||
shim-x64
|
||||
efibootmgr
|
||||
grub2-tools
|
||||
langpacks-en
|
||||
|
||||
# Install software to allow the host to better interact with the guest
|
||||
qemu-guest-agent
|
||||
spice-vdagent
|
||||
|
||||
# To be removed if we want to redistribute as Fedora Remix.
|
||||
-fedora-logos
|
||||
@ -97,18 +114,15 @@ part / --fstype="ext4" --ondisk=vda --grow --label=system
|
||||
## Start of the %post section with logging into /root/ks-post.log
|
||||
%post --log=/root/ks-post.log
|
||||
|
||||
## Set keymap to ch-fr. ## Doesn't survive a reboot. Or only touches the console
|
||||
#localectl set-keymap ch-fr
|
||||
## Set keymap to ch-fr
|
||||
localectl set-keymap ch-fr
|
||||
|
||||
# Set new hostname. ## Doesn't survive a reboot
|
||||
# hostnamectl set-hostname kickstarted-fedora
|
||||
hostnamectl set-hostname vsmed
|
||||
|
||||
# Update the system
|
||||
# dnf update -y
|
||||
|
||||
## We also need to install a qemu guest agent, to allow the host to better interact with the guest
|
||||
# dnf install -y qemu-guest-agent spice-vdagent
|
||||
|
||||
# set the GRUB_TIMEOUT countdown to 1 instead of 5 seconds.
|
||||
sed -i 's/5/1/' /etc/default/grub
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user