mirror of
https://github.com/PhyllomeOS/phyllomeos.git
synced 2025-02-04 07:35:15 +00:00
a test with an extremely minimal installation
This commit is contained in:
parent
3f731a0b3b
commit
e22caad886
@ -19,31 +19,20 @@
|
|||||||
# Configure cdrom as installation method
|
# Configure cdrom as installation method
|
||||||
cdrom
|
cdrom
|
||||||
|
|
||||||
# Working ?
|
# Working without the 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 ##
|
||||||
|
|
||||||
# Perform Installation in text mode
|
# Perform Installation in text mode
|
||||||
text
|
text
|
||||||
|
|
||||||
# Alternatively, start the installation in text mode. -> To be tested
|
|
||||||
# text
|
|
||||||
|
|
||||||
## REPOSITORIES ##
|
## REPOSITORIES ##
|
||||||
|
|
||||||
# Add repo and mirror
|
# Add repo and mirror
|
||||||
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
|
||||||
|
|
||||||
# Add rpmfusion repositories, which provides extra-packages
|
|
||||||
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
|
|
||||||
|
|
||||||
# Uncomment to add-nonfree repositories
|
|
||||||
# repo --name=rpmfusion-nonfree --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-34&arch=x86_64" --includepkgs=rpmfusion-nonfree-release
|
|
||||||
# repo --name=rpmfusion-nonfree-updates --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-34&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
|
||||||
@ -64,7 +53,7 @@ user --name=test --password=$6$wlB.n8fvumAXv3xn$clVIswjLUjb7MZoJ2JHi1zk1zmx5ViQu
|
|||||||
## NETWORK RELATED ##
|
## NETWORK RELATED ##
|
||||||
|
|
||||||
# Configure Firewall
|
# Configure Firewall
|
||||||
firewall --enabled
|
firewall --disabled
|
||||||
|
|
||||||
# Configure Network Interfaces
|
# Configure Network Interfaces
|
||||||
network --onboot=yes --bootproto=dhcp --hostname=f34-minimal
|
network --onboot=yes --bootproto=dhcp --hostname=f34-minimal
|
||||||
@ -72,11 +61,6 @@ network --onboot=yes --bootproto=dhcp --hostname=f34-minimal
|
|||||||
# Run the Setup Agent on first boot
|
# Run the Setup Agent on first boot
|
||||||
firstboot --enable
|
firstboot --enable
|
||||||
|
|
||||||
## SYSTEM RELATED
|
|
||||||
|
|
||||||
# Services to enable/disable ## To do
|
|
||||||
# services --disabled=mlocate-updatedb,mlocate-updatedb.timer,geoclue,avahi-daemon
|
|
||||||
|
|
||||||
## DISK RELATED ##
|
## DISK RELATED ##
|
||||||
|
|
||||||
# Only use disk labelled as vda
|
# Only use disk labelled as vda
|
||||||
@ -100,8 +84,54 @@ part / --fstype="ext4" --ondisk=vda --grow --label=system
|
|||||||
## SOFTWARE ##
|
## SOFTWARE ##
|
||||||
|
|
||||||
# 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 --excludedocs --nobase
|
||||||
@^server-product-environment
|
bash
|
||||||
|
kernel
|
||||||
|
grub
|
||||||
|
e2fsprogs
|
||||||
|
passwd
|
||||||
|
policycoreutils
|
||||||
|
chkconfig
|
||||||
|
rootfiles
|
||||||
|
yum
|
||||||
|
vim-minimal
|
||||||
|
grub2
|
||||||
|
acpid
|
||||||
|
nano
|
||||||
|
dnf
|
||||||
|
|
||||||
|
#Allow for dhcp access
|
||||||
|
dhclient
|
||||||
|
iputils
|
||||||
|
|
||||||
|
# no need for kudzu if the hardware doesn't change
|
||||||
|
-kudzu
|
||||||
|
-prelink
|
||||||
|
-setserial
|
||||||
|
-ed
|
||||||
|
|
||||||
|
# Remove the authconfig pieces
|
||||||
|
-authconfig
|
||||||
|
-rhpl
|
||||||
|
-wireless-tools
|
||||||
|
|
||||||
|
# Remove the kbd bits
|
||||||
|
-kbd
|
||||||
|
-usermode
|
||||||
|
|
||||||
|
# these are all kind of overkill but get pulled in by mkinitrd ordering
|
||||||
|
-mkinitrd
|
||||||
|
-kpartx
|
||||||
|
-dmraid
|
||||||
|
-mdadm
|
||||||
|
-lvm2
|
||||||
|
-tar
|
||||||
|
|
||||||
|
# Stuffs to be removed if we want to redistribute as Fedora Remix.
|
||||||
|
-fedora-logos
|
||||||
|
generic-logos
|
||||||
|
-fedora-release-notes
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
## POST-INSTALLATION SCRIPTS ##
|
## POST-INSTALLATION SCRIPTS ##
|
||||||
@ -116,10 +146,10 @@ part / --fstype="ext4" --ondisk=vda --grow --label=system
|
|||||||
# hostnamectl set-hostname kickstarted-fedora
|
# hostnamectl set-hostname kickstarted-fedora
|
||||||
|
|
||||||
# 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
|
## 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
|
# 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