cdrom-based installation

make it more generic
This commit is contained in:
lukas 2021-08-19 20:04:02 +02:00
parent 78cec27474
commit 22ddbf15d5
3 changed files with 19 additions and 3 deletions

View File

@ -12,10 +12,13 @@
# 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/iso/idhmd.cfg # inst.ks=https://git.phyllo.me/home/kickstart/raw/branch/master/iso/idhmd.cfg
# 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 disk and all of its contents.
# Bye bye! # Bye bye!
%include https://git.phyllo.me/home/kickstart/raw/branch/master/leaves/bmd.cfg # Include bmd.cfg, a minimal system %include https://git.phyllo.me/home/kickstart/raw/branch/master/leaves/bmd.cfg # Include bmd.cfg, a minimal system
%include https://git.phyllo.me/home/kickstart/raw/branch/master/iso/idmd.cfg # Include idmd.cfg, a desktop machine
reboot --kexec # Reboot straight into the system after a successfull installation
%post # Beginning of %post section %post # Beginning of %post section

View File

@ -17,14 +17,18 @@
%include https://git.phyllo.me/home/kickstart/raw/branch/master/leaves/bmd.cfg # Include bmd.cfg, a minimal system %include https://git.phyllo.me/home/kickstart/raw/branch/master/leaves/bmd.cfg # Include bmd.cfg, a minimal system
%post # Beginning of the post-installation section reboot --kexec # Reboot straight into the system after a successfull installation
%post # Beginning of the post-installation section. We put that here because the iso file might not include those packages.
dnf install -y gnome-shell gnome-terminal nano # Minimal GNOME shell or desktop environment plus the nano text editor dnf install -y gnome-shell gnome-terminal nano # Minimal GNOME shell or desktop environment plus the nano text editor
dnf install -y spice-vdagent # Try to install spice-vdagent after the installation is done dnf install -y spice-vdagent # Try to install spice-vdagent after the installation is done
dnf install -y dejavu-sans-mono-fonts # the gnome-shell package doesn't include much fonts by default, resulting in weird spacings in the gnome-terminal. dnf install -y dejavu-sans-mono-fonts # the gnome-shell package doesn't include much fonts by default, resulting in weird spacings in the gnome-terminal.
dnf install -y elementary-wallpapers-gnome.noarch # Gorgeous wallpapers dnf install -y elementary-wallpapers-gnome.noarch # Gorgeous wallpapers
dnf install -y wpa_supplicant # WPA Supplicant for Linux. Not integrated by default in gnome-shell, but necessary to configure wireless networks through the Network Manager. dnf install -y wpa_supplicant # WPA Supplicant for Linux. Not integrated by default in gnome-shell, but necessary to configure wireless networks through the Network Manager.
dnf install -y gnome-initial-setup # Add GNOME initial setup too. Does work.
dnf remove -y gnome-tour # We don't want GNOME-tour to open at launch so we delete it dnf remove -y gnome-tour # We don't want GNOME-tour to open at launch so we delete it
systemctl set-default graphical.target # Set the desktop environment as the default booting target with systemd. Would this command do the trick ? (outside the post or package section) xconfig --startxonboot systemctl set-default graphical.target # Set the desktop environment as the default booting target with systemd. Would this command do the trick ? (outside the post or package section) xconfig --startxonboot
%end # End of the %post section %end # End of the %post section

View File

@ -15,4 +15,13 @@
# ATTENTION : this kickstart file will automatically DESTROY the main disk and all of its contents. # ATTENTION : this kickstart file will automatically DESTROY the main disk and all of its contents.
# Bye bye! # Bye bye!
%include https://git.phyllo.me/home/kickstart/raw/branch/master/leaves/bmd.cfg # Include bmd.cfg, a minimal system %include https://git.phyllo.me/home/kickstart/raw/branch/master/leaves/bmd.cfg # Include bmd.cfg, a minimal system
firstboot --enable --reconfig # Initial Setup will start after the first reboot
reboot --kexec # Reboot straight into the system after a successfull installation
%packages --exclude-weakdeps # Beginning of the packages section. Do not include weak dependencies.
initial-setup # Install the initial setup package.
%end # End of the packages section