cdrom installation as default
This commit is contained in:
parent
aa766dfa7c
commit
a724dfe8a5
@ -5,13 +5,11 @@
|
|||||||
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||||
# /_/ /____/
|
# /_/ /____/
|
||||||
|
|
||||||
# WHAT ? This Kickstart file bootstraps a minimal server-oriented virtual machine.
|
# WHAT ? This kickstart file bootstraps a minimal virtual machine based on Fedora 34 server.
|
||||||
# 'v' for virtual machine, 'e' for efi, 'm' for minimal, 's' for server, 'd' for development only.
|
# 'v' for virtual machine, 'm' for minimal, 'd' for development only.
|
||||||
|
|
||||||
# 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/leafs/vemsd.cfg
|
# inst.ks=https://git.phyllo.me/home/kickstart/raw/branch/master/leaves/vmd.cfg
|
||||||
# A shorter URL can also be used :
|
|
||||||
# inst.ks=https://url.phyllo.me/vemsd
|
|
||||||
|
|
||||||
# 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!
|
||||||
@ -19,10 +17,7 @@
|
|||||||
## INSTALLATION SOURCE ##
|
## INSTALLATION SOURCE ##
|
||||||
|
|
||||||
# Configure the cdrom as the installation method
|
# Configure the cdrom as the installation method
|
||||||
# cdrom
|
cdrom
|
||||||
|
|
||||||
# Set URL
|
|
||||||
url --url="http://download.fedoraproject.org/pub/fedora/linux/releases/34/Server/x86_64/os"
|
|
||||||
|
|
||||||
## INSTALLATION TYPE ##
|
## INSTALLATION TYPE ##
|
||||||
|
|
||||||
@ -35,9 +30,6 @@ text
|
|||||||
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
|
||||||
|
|
||||||
repo --name=rpmfusion-free --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-34&arch=x86_64" --includepkgs=rpmfusion-free-release
|
|
||||||
repo --name=rpmfusion-free-updates --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-34&arch=x86_64" --cost=0
|
|
||||||
|
|
||||||
## USER RELATED ##
|
## USER RELATED ##
|
||||||
|
|
||||||
# Set the keyboard layout
|
# Set the keyboard layout
|
||||||
@ -107,7 +99,7 @@ pciutils # Pciutils provides lspci commandline tool and is not installed by defa
|
|||||||
## POST-INSTALLATION SCRIPT ##
|
## POST-INSTALLATION SCRIPT ##
|
||||||
|
|
||||||
%post --log=/root/ks-post.log ## Start of the %post section with logging into /root/ks-post.log
|
%post --log=/root/ks-post.log ## Start of the %post section with logging into /root/ks-post.log
|
||||||
dnf update -y # Update the system
|
# dnf update -y # Update the system
|
||||||
localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be picked
|
localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be picked
|
||||||
sed -i 's/5/1/' /etc/default/grub # set the GRUB_TIMEOUT countdown to 1 instead of 5 seconds. This command could be used bootloader --timeout=1 in the disk section
|
sed -i 's/5/1/' /etc/default/grub # set the GRUB_TIMEOUT countdown to 1 instead of 5 seconds. This command could be used bootloader --timeout=1 in the disk section
|
||||||
grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub. How about this command grub2-mkconfig -o /etc/grub2-efi.cfg
|
grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub. How about this command grub2-mkconfig -o /etc/grub2-efi.cfg
|
||||||
|
Loading…
x
Reference in New Issue
Block a user