mirror of
https://github.com/PhyllomeOS/phyllomeos.git
synced 2024-12-22 13:05:17 +00:00
rename files
This commit is contained in:
parent
fa4521746f
commit
de556053c3
@ -6,9 +6,6 @@
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file configures an hypervisor for AMD (tm) CPUs
|
||||
# 'b' for basic building block, 'h' for hypervisor', 'a' for amd
|
||||
|
||||
# This is NOT a standalone kickstart file
|
||||
|
||||
%post --log=/root/bhla.log # Beginning of %post section. Those commands are executed inside the chroot environment. Logging is enabled to help with post-installation troubleshooting
|
||||
|
@ -6,9 +6,6 @@
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file configures an hypervisor for Intel(tm) CPUs and Intel(tm) graphic cards
|
||||
# 'b' for basic building block, 'h' for hypervisor', 'i' for intel
|
||||
|
||||
# This is NOT a standalone kickstart file
|
||||
|
||||
%post --log=/root/blhi.log # Beginning of %post section. Those commands are executed inside the chroot environment. Logging is enabled to help with post-installtion troubleshooting
|
||||
|
@ -7,9 +7,6 @@
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file provides a basic, generic building block to build a virtualization host.
|
||||
# 'b' for basic building block, 'h' for hypervisor'
|
||||
|
||||
# This is NOT a standalone kickstart file
|
||||
|
||||
%packages --exclude-weakdeps # Beginning of the packages section. Does not include weak dependencies.
|
||||
|
@ -6,9 +6,6 @@
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file provides a basic block to build a minimal, live system
|
||||
# 'b' for basic building block, 'l' for live
|
||||
|
||||
# This is NOT a standalone kickstart file
|
||||
|
||||
# text # Perform installation in text mode
|
||||
|
@ -6,4 +6,3 @@
|
||||
# /_/ /____/
|
||||
|
||||
# What ? When flattened, this file will result in a stand-alone kickstart file that can be automatically deploy into a server-oriented live system with a hypervisor optimized for AMD (tm) CPUs
|
||||
# 'l' for live, 's' for server, 'h' for hypervisor', 'a' for amd
|
@ -6,4 +6,3 @@
|
||||
# /_/ /____/
|
||||
|
||||
# What ? When flattened, this file will result in a stand-alone kickstart file that can be automatically deploy into a server-oriented live system with a hypervisor
|
||||
# 'l' for live, 's' for server, 'h' for hypervisor'
|
@ -6,4 +6,3 @@
|
||||
# /_/ /____/
|
||||
|
||||
# What ? When flattened, this file will result in a stand-alone kickstart file that can be automatically deploy into a server-oriented live system.
|
||||
# 'l' for live, 's' for server
|
@ -6,9 +6,6 @@
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file provides a basic block to build a minimal, desktop-oriented operating system using GNOME Shell.
|
||||
# 'b' for basic building block, 'd' for desktop
|
||||
|
||||
# This is NOT a standalone kickstart file
|
||||
|
||||
xconfig --startxonboot --defaultdesktop=GNOME # Start the display session on boot. Although it says --startx, which seems to imply xorg, it is actually generic and thus works also with Wayland.
|
||||
|
13
blocks/base-fedora-repo.cfg
Normal file
13
blocks/base-fedora-repo.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
# __ ____ ____ _____
|
||||
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
|
||||
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
|
||||
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
|
||||
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file provides a the Fedora official repositories
|
||||
|
||||
# Official Fedora repositories
|
||||
repo --name=fedora --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch # Official Fedora mirror
|
||||
repo --name=updates --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch # Official Fedora updates mirror
|
||||
url --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch # Official Fedora updates mirror
|
11
blocks/base-guest-agents.cfg
Normal file
11
blocks/base-guest-agents.cfg
Normal file
@ -0,0 +1,11 @@
|
||||
# __ ____ ____ _____
|
||||
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
|
||||
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
|
||||
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
|
||||
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file provides guest-agents, which are useful for virtual machines
|
||||
|
||||
qemu-guest-agent # "QEMU guest agent" The qemu-guest agent is unnecessary for a bare-metal system. However, it is included here to cover cases where this kickstart file is used to deploy a virtual machine
|
||||
spice-vdagent # "Agent for Spice guests" The spice agent is unnecessary for a bare-metal system. However, it is included here to cover cases where this kickstart file is used to deploy a virtual machine
|
@ -6,9 +6,6 @@
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file configures an hypervisor for AMD (tm) CPUs
|
||||
# 'b' for basic building block, 'h' for hypervisor', 'a' for amd
|
||||
|
||||
# This is NOT a standalone kickstart file
|
||||
|
||||
%post --nochroot --log=/mnt/sysimage/root/bha.log # Beginning of %post section. Those commands are executed outside the chroot environment. Logging is enabled to help with post-installation troubleshooting
|
||||
|
@ -6,9 +6,6 @@
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file configures an hypervisor for Intel(tm) CPUs and Intel(tm) graphic cards
|
||||
# 'b' for basic building block, 'h' for hypervisor', 'i' for intel
|
||||
|
||||
# This is NOT a standalone kickstart file
|
||||
|
||||
%post --nochroot --log=/mnt/sysimage/root/bhi.log # Beginning of %post section. Those commands are executed outside the chroot environment. Logging is enabled to help with post-installtion troubleshooting
|
||||
|
@ -6,9 +6,6 @@
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file provides a basic, generic building block to build a virtualization host.
|
||||
# 'b' for basic building block, 'h' for hypervisor'
|
||||
|
||||
# This is NOT a standalone kickstart file
|
||||
|
||||
%packages --exclude-weakdeps # Beginning of the packages section. Does not include weak dependencies.
|
||||
|
@ -5,24 +5,10 @@
|
||||
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file itents to provide a basic block small than the minimal operating system.
|
||||
# 'b' for basic building block, 'n' for nano, 'd' for development only.
|
||||
# What ? This kickstart file intends to provide a basic block smaller than the minimal operating system.
|
||||
|
||||
# This is NOT a standalone kickstart file.
|
||||
|
||||
# ATTENTION : this kickstart file will automatically DESTROY the main disk and all of its contents.
|
||||
# Bye bye
|
||||
|
||||
# NOTE : it currently fails
|
||||
|
||||
# cmdline # Perform the full installation in real text mode see here https://wiki.centos.org/TipsAndTricks/KickStart
|
||||
text # Perform installation in text mode
|
||||
|
||||
# Installation method. For cdrom, replace repo and url with cdrom
|
||||
repo --name=fedora --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch # Official Fedora mirror
|
||||
repo --name=updates --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch # Official Fedora updates mirror
|
||||
url --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch # Official Fedora updates mirror
|
||||
|
||||
keyboard --xlayouts='ch (fr)' # set keyboard layouts for Romandie
|
||||
lang en_US.UTF-8 # Set system language to American English. More languages could be supported: --addsupport=cs_CZ,de_DE,en_UK
|
||||
timezone Europe/Paris --utc # Set system timezone to Paris
|
||||
@ -35,14 +21,6 @@ services --enabled=NetworkManager,libvirtd --disabled=sshd
|
||||
network --onboot=yes --bootproto=dhcp --device=link --activate --hostname=phyllome-alpha # Configure network interfaces and set hostname. "link" selects the first device reaching an up state
|
||||
|
||||
zerombr # WARNING : Dangerous command ! Will clear the Master Boot Record
|
||||
clearpart --all --initlabel # Partition clearing information. This setup uses GPT by default.
|
||||
part /boot/efi --fstype="efi" --size=128 --fsoptions="umask=0077,shortname=winnt" --label=efi # Will create an efi partitition of 128 MiB (vda1)
|
||||
part /boot --fstype="ext4" --size=384 --label=boot # Create a boot partition of 384 MiB using the ext4 filesystem (vda2).
|
||||
part / --fstype="ext4" --grow --label=root # The remaining space will be used for root (vda3).
|
||||
bootloader --timeout=1 # Set the GNU GRUB bootloader timeout to 1.
|
||||
|
||||
# reboot --kexec # Reboot the system after the installation is successfully completed
|
||||
# firstboot --enable --reconfig # Initial Setup will start after the first reboot
|
||||
|
||||
%packages --excludedocs --nocore --exclude-weakdeps
|
||||
|
13
blocks/base-storage.cfg
Normal file
13
blocks/base-storage.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
# __ ____ ____ _____
|
||||
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
|
||||
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
|
||||
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
|
||||
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file provides a basic EXT4 layout for EFI, without encryption.
|
||||
|
||||
part /boot/efi --fstype="efi" --size=128 --fsoptions="umask=0077,shortname=winnt" --label=efi # Will create an efi partitition of 128 MiB (vda1)
|
||||
part /boot --fstype="ext4" --size=384 --label=boot # Create a boot partition of 384 MiB using the ext4 filesystem (vda2).
|
||||
part / --fstype="ext4" --grow --label=root # The remaining space will be used for root (vda3).
|
||||
bootloader --timeout=1 # Set the GNU GRUB bootloader timeout to 1.
|
@ -6,17 +6,9 @@
|
||||
# /_/ /____/
|
||||
#
|
||||
# What ? This kickstart file provides a basic block to build a minimal operating system.
|
||||
# 'b' for basic building block
|
||||
|
||||
# This is NOT a standalone kickstart file
|
||||
|
||||
text # Perform installation in text mode
|
||||
|
||||
# Installation method. For cdrom, replace repo and url with cdrom
|
||||
repo --name=fedora --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch # Official Fedora mirror
|
||||
repo --name=updates --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch # Official Fedora updates mirror
|
||||
url --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch # Official Fedora updates mirror
|
||||
|
||||
keyboard --xlayouts='ch (fr)' # set keyboard layouts for Romandie
|
||||
lang en_US.UTF-8 # Set system language to American English. More languages could be supported: --addsupport=cs_CZ,de_DE,en_UK
|
||||
timezone Europe/Paris --utc # Set system timezone to Paris
|
||||
@ -29,11 +21,6 @@ services --enabled=NetworkManager,libvirtd --disabled=sshd
|
||||
network --onboot=yes --bootproto=dhcp --device=link --activate --hostname=phyllome-alpha # Configure network interfaces and set hostname. "link" selects the first device reaching an up state
|
||||
|
||||
zerombr # WARNING : Dangerous command ! Will clear the Master Boot Record
|
||||
clearpart --all --initlabel # Partition clearing information. This setup uses GPT by default.
|
||||
part /boot/efi --fstype="efi" --size=128 --fsoptions="umask=0077,shortname=winnt" --label=efi # Will create an efi partitition of 128 MiB (vda1)
|
||||
part /boot --fstype="ext4" --size=384 --label=boot # Create a boot partition of 384 MiB using the ext4 filesystem (vda2).
|
||||
part / --fstype="ext4" --grow --label=root # The remaining space will be used for root (vda3).
|
||||
bootloader --timeout=1 # Set the GNU GRUB bootloader timeout to 1.
|
||||
|
||||
%packages --exclude-weakdeps # Beginning of the package section. Does not include weak dependencies.
|
||||
|
||||
@ -43,8 +30,6 @@ pciutils # Pciutils provides lspci commandline tool, which is not installed by d
|
||||
wget # "The non-interactive network downloader. " Used to fetch files during installation
|
||||
neofetch # a simple tool to show hardware-related informations inside a terminal
|
||||
nano # The nano text editor
|
||||
qemu-guest-agent # "QEMU guest agent" The qemu-guest agent is unnecessary for a bare-metal system. However, it is included here to cover cases where this kickstart file is used to deploy a virtual machine
|
||||
spice-vdagent # "Agent for Spice guests" The spice agent is unnecessary for a bare-metal system. However, it is included here to cover cases where this kickstart file is used to deploy a virtual machine
|
||||
-fedora-logos # Remove Fedora logos to comply with [Fedora Remix legal guidelines](https://fedoraproject.org/wiki/Remix)
|
||||
-fedora-release # Remove Fedora release-notes
|
||||
-fedora-release-notes # Remove Fedora release-notes
|
@ -6,19 +6,17 @@
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file bootstraps a desktop hypervisor configured for AMD (tm) CPUs.
|
||||
# 'd' for desktop, 'h' for hypervisor', 'a' for amd
|
||||
|
||||
# ATTENTION : this kickstart file will automatically DESTROY the main disk and all of its contents.
|
||||
# Bye bye!
|
||||
|
||||
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
|
||||
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
|
||||
# ksflatten -c dha.cfg -o ../leaves/flat-dha.cfg
|
||||
# ksflatten -c desktop-hypervisor-a.cfg -o ../leaves/phyllome-desktop-a.cfg
|
||||
|
||||
%include b.cfg # A minimal machine
|
||||
%include bd.cfg # A desktop environment
|
||||
%include bh.cfg # A base hypervisor
|
||||
%include bha.cfg # Specific virtualization configuration for AMD (tm) CPUs
|
||||
%include base-fedora-repo.cfg # offical repositories for Fedora
|
||||
%include base-storage.cfg # base storage
|
||||
%include base.cfg # A minimal machine
|
||||
%include base-desktop.cfg # A desktop environment
|
||||
%include base-hypervisor.cfg # A base hypervisor
|
||||
%include base-hypervisor-a.cfg # Specific virtualization configuration for AMD (tm) CPUs
|
||||
|
||||
reboot --kexec # Reboot straight into the system after a successfull installation
|
||||
|
||||
@ -41,4 +39,12 @@ Name=Virtual Machine Manager
|
||||
Exec=virt-manager
|
||||
EOF
|
||||
|
||||
## Append lines to existing vendor.conf file, so that options are skipped upon reboot
|
||||
cat >> /mnt/sysimage/usr/share/gnome-initial-setup/vendor.conf<< EOF
|
||||
[pages]
|
||||
skip=privacy
|
||||
[goa]
|
||||
providers=local-first!
|
||||
EOF
|
||||
|
||||
%end # End of the %post section
|
@ -5,20 +5,18 @@
|
||||
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file bootstraps a desktop hypervisor configured for Intel(tm) CPU and Intel(tm) graphic cards.
|
||||
# 'd' for desktop, 'h' for hypervisor', 'i' for intel
|
||||
|
||||
# ATTENTION : this kickstart file will automatically DESTROY the main disk and all of its contents.
|
||||
# Bye bye!
|
||||
# What ? This kickstart file bootstraps a desktop hypervisor configured for Intel(tm) CPU and Intel(tm) GPUs
|
||||
|
||||
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
|
||||
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
|
||||
# ksflatten -c dhi.cfg -o ../leaves/flat-dhi.cfg
|
||||
# ksflatten -c desktop-hypervisor-ii.cfg -o ../leaves/phyllome-desktop-ii.cfg
|
||||
|
||||
%include b.cfg # A minimal machine
|
||||
%include bd.cfg # A desktop environment
|
||||
%include bh.cfg # A base hypervisor
|
||||
%include bhi.cfg # Specific virtualization configuration for Intel(tm) CPU and Intel(tm) graphic cards
|
||||
%include base-fedora-repo.cfg # offical repositories for Fedora
|
||||
%include base-storage.cfg # base storage
|
||||
%include base.cfg # A minimal machine
|
||||
%include base-desktop.cfg # A desktop environment
|
||||
%include base-hypervisor.cfg # A base hypervisor
|
||||
%include base-hypervisor-ii.cfg # Specific virtualization configuration for Intel(tm) CPU and Intel(tm) GPUs
|
||||
|
||||
reboot --kexec # Reboot straight into the system after a successfull installation
|
||||
|
@ -6,18 +6,16 @@
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file bootstraps a desktop hypervisor.
|
||||
# 'd' for desktop, 'h' for hypervisor
|
||||
|
||||
# ATTENTION : this kickstart file will automatically DESTROY the main disk and all of its contents.
|
||||
# Bye bye!
|
||||
|
||||
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
|
||||
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
|
||||
# ksflatten -c dh.cfg -o ../leaves/flat-dh.cfg
|
||||
# ksflatten -c desktop-hypervisor.cfg -o ../leaves/phyllome-desktop.cfg
|
||||
|
||||
%include b.cfg # A minimal machine
|
||||
%include bd.cfg # A desktop environment
|
||||
%include bh.cfg # A base hypervisor
|
||||
%include base-fedora-repo.cfg # offical repositories for Fedora
|
||||
%include base-storage.cfg # base storage
|
||||
%include base.cfg # A minimal machine
|
||||
%include base-desktop.cfg # A desktop environment
|
||||
%include base-hypervisor.cfg # A base hypervisor
|
||||
|
||||
reboot --kexec # Reboot straight into the system after a successfull installation
|
||||
|
||||
@ -40,4 +38,12 @@ Name=Virtual Machine Manager
|
||||
Exec=virt-manager
|
||||
EOF
|
||||
|
||||
## Append lines to existing vendor.conf file, so that options are skipped upon reboot
|
||||
cat >> /mnt/sysimage/usr/share/gnome-initial-setup/vendor.conf<< EOF
|
||||
[pages]
|
||||
skip=privacy
|
||||
[goa]
|
||||
providers=local-first!
|
||||
EOF
|
||||
|
||||
%end # End of the %post section
|
@ -5,18 +5,16 @@
|
||||
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file bootstraps a desktop machine.
|
||||
# 'd' for desktop
|
||||
|
||||
# ATTENTION : this kickstart file will automatically DESTROY the main disk and all of its contents.
|
||||
# Bye bye!
|
||||
# What ? This kickstart file bootstraps a desktop machine using GNOME Shell.
|
||||
|
||||
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
|
||||
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
|
||||
# ksflatten -c d.cfg -o ../leaves/flat-d.cfg
|
||||
# ksflatten -c desktop.cfg -o ../leaves/desktop.cfg
|
||||
|
||||
%include b.cfg # A base system
|
||||
%include bd.cfg # A desktop environment
|
||||
%include base-fedora-repo.cfg # offical repositories for Fedora
|
||||
%include base-storage.cfg # base storage
|
||||
%include base.cfg # A minimal machine
|
||||
%include base-desktop.cfg # A desktop environment
|
||||
|
||||
reboot --kexec # Reboot straight into the system after a successfull installation
|
||||
|
||||
@ -33,4 +31,12 @@ truncate -s 0 /mnt/sysimage/usr/share/gnome-initial-setup/vendor.conf # remove c
|
||||
# set new default background (doesn't work. Would have to call a script on first boot or something)
|
||||
# gsettings set org.gnome.desktop.background picture-uri file://mnt/sysimage/usr/share/backgrounds/elementary/default
|
||||
|
||||
## Append lines to existing vendor.conf file, so that options are skipped upon reboot
|
||||
cat >> /mnt/sysimage/usr/share/gnome-initial-setup/vendor.conf<< EOF
|
||||
[pages]
|
||||
skip=privacy
|
||||
[goa]
|
||||
providers=local-first!
|
||||
EOF
|
||||
|
||||
%end # End of the %post section
|
20
blocks/n.cfg
20
blocks/n.cfg
@ -1,20 +0,0 @@
|
||||
# __ ____ ____ _____
|
||||
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
|
||||
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
|
||||
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
|
||||
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file itents to provide a basic block small than the minimal operating system.
|
||||
# 'n' for nano, 'd' for development only.
|
||||
|
||||
%include bnd.cfg # A base 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
|
27
blocks/nano.cfg
Normal file
27
blocks/nano.cfg
Normal file
@ -0,0 +1,27 @@
|
||||
# __ ____ ____ _____
|
||||
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
|
||||
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
|
||||
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
|
||||
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file itents to provide a basic block small than the minimal operating system.
|
||||
|
||||
# NOTE: It currently fails
|
||||
|
||||
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
|
||||
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
|
||||
# ksflatten -c nano.cfg -o ../leaves/nano-server-a.cfg
|
||||
|
||||
%include base-fedora-repo.cfg # offical repositories for Fedora
|
||||
%include base-storage.cfg # base storage
|
||||
%include nano.cfg # A base 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
|
@ -6,15 +6,16 @@
|
||||
# /_/ /____/
|
||||
#
|
||||
# What ? When flattened, this file will result in a stand-alone kickstart file that can be automatically deploy into a server-oriented system with a hypervisor optimized for AMD (tm) CPUs
|
||||
# 's' for server, 'h' for hypervisor', 'a' for amd
|
||||
|
||||
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
|
||||
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
|
||||
# ksflatten -c sha.cfg -o ../leaves/flat-sha.cfg
|
||||
# ksflatten -c server-hypervisor-a.cfg -o ../leaves/phyllome-server-a.cfg
|
||||
|
||||
%include b.cfg # Include a base system
|
||||
%include bh.cfg # A base hypervisor
|
||||
%include bha.cfg # Specific virtualization tweaks for AMD (tm) CPUs
|
||||
%include base-fedora-repo.cfg # offical repositories for Fedora
|
||||
%include base-storage.cfg # base storage
|
||||
%include base.cfg # A minimal machine
|
||||
%include base-hypervisor.cfg # A base hypervisor
|
||||
%include base-hypervisor-a.cfg # Specific virtualization configuration for AMD (tm) CPUs
|
||||
|
||||
firstboot --enable --reconfig # Initial Setup will start after the first reboot
|
||||
reboot --kexec # Reboot straight into the system after a successfull installation
|
@ -5,16 +5,17 @@
|
||||
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||
# /_/ /____/
|
||||
#
|
||||
# What ? When flattened, this file will result in a stand-alone kickstart file that can be automatically deploy into a server-oriented system with a hypervisor optimized for Intel (tm) CPUs
|
||||
# 's' for server, 'h' for hypervisor', 'i' for intel
|
||||
# What ? When flattened, this file will result in a stand-alone kickstart file that can be automatically deploy into a server-oriented system with a hypervisor optimized for Intel (tm) CPUs and Intel(tm) GPUs
|
||||
|
||||
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
|
||||
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
|
||||
# ksflatten -c shi.cfg -o ../leaves/flat-shi.cfg
|
||||
# ksflatten -c server-hypervisor-ii.cfg -o ../leaves/phyllome-server-ii.cfg
|
||||
|
||||
%include b.cfg # Include a base system
|
||||
%include bh.cfg # A base hypervisor
|
||||
%include bhi.cfg # Specific virtualization tweaks for Intel(tm) CPU and Intel(tm) graphic cards
|
||||
%include base-fedora-repo.cfg # offical repositories for Fedora
|
||||
%include base-storage.cfg # base storage
|
||||
%include base.cfg # A minimal machine
|
||||
%include base-hypervisor.cfg # A base hypervisor
|
||||
%include base-hypervisor-ii.cfg # Specific virtualization configuration for Intel(tm) CPU and Intel(tm) GPUs
|
||||
|
||||
firstboot --enable --reconfig # Initial Setup will start after the first reboot
|
||||
reboot --kexec # Reboot straight into the system after a successfull installation
|
@ -6,14 +6,15 @@
|
||||
# /_/ /____/
|
||||
#
|
||||
# What ? When flattened, this file will result in a stand-alone kickstart file that can be automatically deploy into a server-oriented system with a hypervisor.
|
||||
# 's' for server, 'h' for hypervisor
|
||||
|
||||
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
|
||||
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
|
||||
# ksflatten -c sh.cfg -o ../leaves/flat-sh.cfg
|
||||
# ksflatten -c server-hypervisor.cfg -o ../leaves/phyllome-server.cfg
|
||||
|
||||
%include b.cfg # A base system
|
||||
%include bh.cfg # A base hypervisor
|
||||
%include base-fedora-repo.cfg # offical repositories for Fedora
|
||||
%include base-storage.cfg # base storage
|
||||
%include base.cfg # A minimal machine
|
||||
%include base-hypervisor.cfg # A base hypervisor
|
||||
|
||||
firstboot --enable --reconfig # Initial Setup will start after the first reboot
|
||||
reboot --kexec # Reboot straight into the system after a successfull installation
|
@ -6,13 +6,14 @@
|
||||
# /_/ /____/
|
||||
#
|
||||
# What ? When flattened, this file will result in a stand-alone kickstart file that can be automatically deploy into a server-oriented system.
|
||||
# 's' for server
|
||||
|
||||
# In order to be fed to virt-install or software like livecd-creator, this file needs to be flatten or merged into one.
|
||||
# In order to be fed to virt-install or a software like livecd-creator, this file needs to be flattened.
|
||||
# Here is how you can do it with the ksflatten tool provided by the pykickstart package on Fedora :
|
||||
# ksflatten -c s.cfg -o ../leaves/flat-s.cfg
|
||||
# ksflatten -c server.cfg -o ../leaves/flat-server.cfg
|
||||
|
||||
%include b.cfg # A base system
|
||||
%include base-fedora-repo.cfg # offical repositories for Fedora
|
||||
%include base-storage.cfg # base storage
|
||||
%include base.cfg # A base system
|
||||
|
||||
firstboot --enable --reconfig # Initial Setup will start after the first reboot
|
||||
reboot --kexec # Reboot straight into the system after a successfull installation
|
65
leaves/flat-server.cfg
Normal file
65
leaves/flat-server.cfg
Normal file
@ -0,0 +1,65 @@
|
||||
# Generated by pykickstart v3.34
|
||||
#version=DEVEL
|
||||
# Keyboard layouts
|
||||
keyboard --xlayouts='ch (fr)'
|
||||
# Root password
|
||||
rootpw --iscrypted --lock locked
|
||||
# System language
|
||||
lang en_US.UTF-8
|
||||
# Reboot after installation
|
||||
reboot --kexec
|
||||
# Use text mode install
|
||||
text
|
||||
# Network information
|
||||
network --bootproto=dhcp --device=link --hostname=phyllome-alpha --activate
|
||||
# Firewall configuration
|
||||
firewall --enabled --service=mdns
|
||||
# Use network installation
|
||||
url --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch"
|
||||
repo --name="fedora" --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
|
||||
repo --name="updates" --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
|
||||
# System timezone
|
||||
timezone Europe/Paris --utc
|
||||
# Run the Setup Agent on first boot
|
||||
firstboot --reconfig
|
||||
# SELinux configuration
|
||||
selinux --enforcing
|
||||
# System services
|
||||
services --disabled="sshd" --enabled="NetworkManager,libvirtd"
|
||||
# System bootloader configuration
|
||||
bootloader --location=mbr --timeout=1
|
||||
# Clear the Master Boot Record
|
||||
zerombr
|
||||
# Disk partitioning information
|
||||
part /boot/efi --fstype="efi" --size=128 --fsoptions="umask=0077,shortname=winnt" --label=efi
|
||||
part /boot --fstype="ext4" --size=384 --label=boot
|
||||
part / --fstype="ext4" --grow --label=root
|
||||
|
||||
%post --logfile=/root/b.log
|
||||
|
||||
localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be picked.
|
||||
dnf update -y # Update the system
|
||||
grub2-mkconfig -o /boot/grub2/grub.cfg # Update grub otherwise the system won't boot properly
|
||||
|
||||
%end
|
||||
|
||||
%packages --exclude-weakdeps
|
||||
@core
|
||||
@hardware-support
|
||||
fedora-remix-logos
|
||||
generic-logos
|
||||
generic-release
|
||||
generic-release-common
|
||||
generic-release-notes
|
||||
initial-setup
|
||||
nano
|
||||
neofetch
|
||||
pciutils
|
||||
wget
|
||||
-fedora-logos
|
||||
-fedora-release
|
||||
-fedora-release-common
|
||||
-fedora-release-identity-basic
|
||||
-fedora-release-notes
|
||||
|
||||
%end
|
Loading…
Reference in New Issue
Block a user