mirror of
https://github.com/PhyllomeOS/phyllomeos.git
synced 2025-02-04 15:45:15 +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 :
|
# 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
|
# 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.
|
# ATTENTION : this kickstart file will automatically DESTROY the main virtual disk 'vda' and all of its contents.
|
||||||
# Bye bye!
|
# Bye bye!
|
||||||
|
|
||||||
## INSTALLATION SOURCE ##
|
## INSTALLATION SOURCE ##
|
||||||
|
|
||||||
# Configure cdrom as installation method
|
# Configure the cdrom as the installation method
|
||||||
cdrom
|
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"
|
url --url="http://download.fedoraproject.org/pub/fedora/linux/releases/34/Server/x86_64/os"
|
||||||
|
|
||||||
## INSTALLATION TYPE ##
|
## INSTALLATION TYPE ##
|
||||||
@ -29,14 +31,14 @@ text
|
|||||||
|
|
||||||
## REPOSITORIES ##
|
## REPOSITORIES ##
|
||||||
|
|
||||||
# Add repo and mirror
|
# Add mirro and repo
|
||||||
url --mirrorlist="https://mirrors.fedoraproject.org/metalink?repo=fedora-34&arch=x86_64"
|
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
|
repo --name=fedora-updates --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f34&arch=x86_64" --cost=0
|
||||||
|
|
||||||
## USER RELATED ##
|
## USER RELATED ##
|
||||||
|
|
||||||
# Keyboard layouts -> Doesn't seem to survive a reboot
|
# Keyboard layouts -> Doesn't seem to survive a reboot
|
||||||
keyboard fr-ch
|
keyboard --xlayouts='ch (fr)'
|
||||||
|
|
||||||
# Set the system language to American English
|
# Set the system language to American English
|
||||||
lang en_US.UTF-8
|
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
|
# Install packages for the server environment. 'Core' and 'Base' are always selected
|
||||||
%packages
|
%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.
|
# To be removed if we want to redistribute as Fedora Remix.
|
||||||
-fedora-logos
|
-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
|
## Start of the %post section with logging into /root/ks-post.log
|
||||||
%post --log=/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
|
## Set keymap to ch-fr
|
||||||
#localectl set-keymap ch-fr
|
localectl set-keymap ch-fr
|
||||||
|
|
||||||
# Set new hostname. ## Doesn't survive a reboot
|
# Set new hostname. ## Doesn't survive a reboot
|
||||||
# hostnamectl set-hostname kickstarted-fedora
|
hostnamectl set-hostname vsmed
|
||||||
|
|
||||||
# Update the system
|
# Update the system
|
||||||
# dnf update -y
|
# 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.
|
# set the GRUB_TIMEOUT countdown to 1 instead of 5 seconds.
|
||||||
sed -i 's/5/1/' /etc/default/grub
|
sed -i 's/5/1/' /etc/default/grub
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user