Improve the readme
Move the iso sub-directory to archive
This commit is contained in:
@ -6,9 +6,11 @@
|
||||
# /_/ /____/
|
||||
#
|
||||
# What ? This kickstart file provides a basic block to build a minimal operating system.
|
||||
# 'b' for basic building block, 'm' for minimal, 'd' for development only.
|
||||
# 'b' for basic building block
|
||||
|
||||
# Known bug: Cannot resolve host name
|
||||
# This is NOT a standalone kickstart file
|
||||
|
||||
# Known bug: Cannot resolve hostnames
|
||||
|
||||
text # Perform installation in text mode
|
||||
|
||||
@ -18,50 +20,51 @@ repo --name=updates --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?re
|
||||
# #repo --name=updates-testing --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f$releasever&arch=$basearch
|
||||
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 # Unnecessary if using inital-setup
|
||||
lang en_US.UTF-8 # Set system language to American English # Unnecessary if using inital-setup
|
||||
timezone Europe/Paris --utc # Set System timezone to Paris # Unnecessary if using inital-setup
|
||||
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
|
||||
|
||||
rootpw --lock --iscrypted locked # Lock the root account
|
||||
|
||||
selinux --enforcing # Make sure SELinux is in enforced mode
|
||||
firewall --enabled # Make sure the firewall is enabled
|
||||
firewall --enabled --service=mdns # Make sure the firewall is enabled
|
||||
services --enabled=NetworkManager --disabled=sshd
|
||||
network --onboot=yes --bootproto=dhcp --device=link --activate --hostname=phyllome # Configure network interfaces and set hostname
|
||||
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 Grub bootloader timeout to 1
|
||||
bootloader --timeout=1 # Set the GNU GRUB bootloader timeout to 1.
|
||||
|
||||
# poweroff # Power off the system after a sucessfull installation
|
||||
# reboot --kexec # Reboot straight into the system after a successfull installation
|
||||
|
||||
%packages --exclude-weakdeps # Beginning of the packages section. Do not include weak dependencies.
|
||||
%packages --exclude-weakdeps # Beginning of the package section. Does not include weak dependencies.
|
||||
|
||||
@core # minimal installation
|
||||
pciutils # Pciutils provides lspci commandline tool and is not installed by default
|
||||
qemu-guest-agent # "QEMU guest agent"
|
||||
spice-vdagent # "Agent for Spice guests"
|
||||
wget # "The non-interactive network downloader. " Used to fetch file during installation
|
||||
neofetch # a simple tool to show hardware related-informations within a terminal
|
||||
# @fonts # Add quite a few fonts. Otherwise there is a bug with the terminal. Doesn't solve the bug. Uncomment it.
|
||||
-fedora-logos # Fedora logos
|
||||
-fedora-release # Fedora release-notes
|
||||
-fedora-release-notes
|
||||
-fedora-release-common # Fedora release files
|
||||
@hardware-support # Provides extended hardware support, and especially extra wireless drivers
|
||||
pciutils # Pciutils provides lspci commandline tool, which is not installed by default
|
||||
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
|
||||
-fedora-release-common # Remove Fedora release files
|
||||
-fedora-release-identity-basic # ???
|
||||
fedora-remix-logos # Install Fedora remix logos
|
||||
generic-release
|
||||
generic-logos
|
||||
fedora-remix-logos # Add Fedora Remix logos
|
||||
generic-release # Add Fedora Remix logos
|
||||
generic-logos # Add Fedora Remix logos
|
||||
generic-release-common # "Generic release files"
|
||||
generic-release-notes # "Release Notes"
|
||||
|
||||
%end # End of the packages section
|
||||
|
||||
%post --log=/root/bmd.log # Beginning of the post-installation section. Add logging.
|
||||
%post --log=/root/b.log # Beginning of the post-installation section. Add logging.
|
||||
|
||||
localectl set-keymap ch-fr # Set keymap to `ch-fr`. Alternatively, `us` can be picked.
|
||||
dnf update -y # Update the system
|
29
leaves/bd.cfg
Normal file
29
leaves/bd.cfg
Normal file
@ -0,0 +1,29 @@
|
||||
# __ ____ ____ _____
|
||||
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
|
||||
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
|
||||
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
|
||||
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||
# /_/ /____/
|
||||
|
||||
# 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.
|
||||
|
||||
%packages --exclude-weakdeps # Beginning of the packages section. Excludes weak package dependencies
|
||||
|
||||
gnome-shell # the version 3 of the GNOME desktop environment, without any presintalled applications
|
||||
gnome-terminal # install the default terminal for GNOME Shell
|
||||
-gnome-tour # delete GNOME Tour so it doesn't automatically launch on boot
|
||||
dejavu-sans-mono-fonts # the gnome-shell package doesn't include much fonts by default, resulting in weird spacings in GNOME Terminal. GNOME Terminal unfortunately doesn't automatically pick this font
|
||||
elementary-wallpapers-gnome.noarch # Gorgeous wallpapers from the elementary OS project
|
||||
wpa_supplicant # WPA Supplicant for Linux. It is not packaged by default in gnome-shell, but necessary to configure wireless networks using the Network Manager
|
||||
nano # The nano text editor
|
||||
|
||||
%end
|
||||
|
||||
# %post --nochroot --log=/mnt/sysimage/root/bd.log # Beginning of %post section. Those commands are executed outside the chroot environment
|
||||
#
|
||||
# %end # End of the %post section
|
@ -1,28 +0,0 @@
|
||||
# __ ____ ____ _____
|
||||
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
|
||||
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
|
||||
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
|
||||
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file provides a basic block to build a minimal, gnome-shell based (desktop-oriented), operating system.
|
||||
# 'b' for basic building block, 'd' for desktop, 'm' for minimal, 'd' for development only.
|
||||
|
||||
xconfig --startxonboot --defaultdesktop=GNOME # Start GNOME on boot. Although says --startx, it works as well with Wayland.
|
||||
|
||||
%packages --exclude-weakdeps # Beginning of the packages section. Excludes weak package dependencies
|
||||
|
||||
dejavu-sans-mono-fonts # the gnome-shell package doesn't include much fonts by default, resulting in weird spacings in the gnome-terminal.
|
||||
elementary-wallpapers-gnome.noarch # Gorgeous wallpapers
|
||||
wpa_supplicant # WPA Supplicant for Linux. Not integrated by default in gnome-shell, but necessary to configure wireless networks through the Network Manager.
|
||||
gnome-shell # the GNOME-3 desktop environment, without any presintalled applications
|
||||
gnome-terminal # add the default terminal for gnome-shelle
|
||||
-gnome-tour # We don't want GNOME-tour to open at launch so we delete it
|
||||
nano # Minimal GNOME shell or desktop environment plus the nano text editor
|
||||
virt-manager # install virt-manager to interact with remote or local hypervisors, without including KVM/QEMU
|
||||
|
||||
%end
|
||||
|
||||
# %post --nochroot --log=/mnt/sysimage/root/bdmd.log # Beginning of %post section. Those commands are executed outside the chroot environment
|
||||
#
|
||||
# %end # End of the %post section
|
43
leaves/bh.cfg
Normal file
43
leaves/bh.cfg
Normal file
@ -0,0 +1,43 @@
|
||||
# __ ____ ____ _____
|
||||
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
|
||||
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
|
||||
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
|
||||
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||
# /_/ /____/
|
||||
|
||||
# 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.
|
||||
|
||||
qemu-kvm
|
||||
libvirt
|
||||
libvirt-daemon-config-network
|
||||
libvirt-daemon-kvm
|
||||
virt-install
|
||||
virt-top
|
||||
libguestfs-tools
|
||||
python3-libguestfs
|
||||
guestfs-tools # Complementary tools useful for interacting with vith guest systems
|
||||
|
||||
%end # End of the packages section
|
||||
|
||||
%post --nochroot --log=/mnt/sysimage/root/bh.log # Beginning of %post section. Those commands are executed outside the chroot environment. Logging is enabled to help with post-installation troubleshooting
|
||||
|
||||
mkdir /mnt/sysimage/var/lib/libvirt/iso # Create a directory to store iso images
|
||||
|
||||
wget https://boot.netboot.xyz/ipxe/netboot.xyz.iso -P /mnt/sysimage/var/lib/libvirt/iso/
|
||||
|
||||
virsh pool-define-as iso dir /mnt/sysimage/var/lib/libvirt/iso/ # Make libvirt aware of this new directory by creating a so-called 'pool'
|
||||
virsh pool-build iso # Build the pool
|
||||
virsh pool-start iso # Start it
|
||||
virsh pool-autostart iso # Set-it to autostart
|
||||
|
||||
# Add a network bridge. Still need to declare it to libvirt/virt-manager
|
||||
nmcli con add ifname br0 type bridge con-name br0
|
||||
nmcli con add type bridge-slave ifname enp1s0 master br0 # to-do : generalize this command
|
||||
nmcli con up br0
|
||||
|
||||
%end # End of the %post section
|
@ -6,11 +6,13 @@
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file configures an hypervisor for AMD (tm) CPUs
|
||||
# 'b' for basic building block, 'a' for amd, 'm' for minimal, 'd' for development only.
|
||||
# 'b' for basic building block, 'h' for hypervisor', 'a' for amd
|
||||
|
||||
%post --nochroot --log=/mnt/sysimage/root/bhamd.log # Beginning of %post section. Those commands are executed outside the chroot environment
|
||||
# This is NOT a standalone kickstart file
|
||||
|
||||
sed -i 's/\(quiet\)/\1 amd_iommu=on amd_iommu=pt rd.driver.pre=vfio-pci/i' /mnt/sysimage/etc/default/grub # Load kernel modules in grub.
|
||||
%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
|
||||
|
||||
sed -i 's/\(quiet\)/\1 amd_iommu=on amd_iommu=pt rd.driver.pre=vfio-pci/i' /mnt/sysimage/etc/default/grub # Load kernel modules in GRUB.
|
||||
|
||||
# Load kernel modules by adding vfio, vfio_pci, vfio_iommu_type1, vfio_virqfd
|
||||
echo "vfio" > /mnt/sysimage/etc/modules-load.d/vfio.conf
|
@ -6,9 +6,11 @@
|
||||
# /_/ /____/
|
||||
|
||||
# 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, 'm' for minimal, 'd' for development only.
|
||||
# 'b' for basic building block, 'h' for hypervisor', 'i' for intel
|
||||
|
||||
%post --nochroot --log=/mnt/sysimage/root/bhimd.log # Beginning of %post section. Those commands are executed outside the chroot environment
|
||||
# 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
|
||||
|
||||
sed -i 's/\(quiet\)/\1 intel_iommu=on iommu=pt rd.driver.pre=vfio-pci i915.enable_gvt=1/i' /mnt/sysimage/etc/default/grub # Load kernel modules in grub.
|
||||
|
@ -1,36 +0,0 @@
|
||||
# __ ____ ____ _____
|
||||
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
|
||||
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
|
||||
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
|
||||
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file provides a basic block to build a hypervisor.
|
||||
# 'b' for basic building block, 'h' for hypervisor', 'm' for minimal, 'd' for development only.
|
||||
|
||||
%packages --exclude-weakdeps # Beginning of the packages section. Do not include weak dependencies.
|
||||
|
||||
qemu-kvm
|
||||
libvirt
|
||||
libvirt-daemon-config-network
|
||||
libvirt-daemon-kvm # Install minimal tools dedicated to virtualization.
|
||||
virt-install
|
||||
virt-top
|
||||
libguestfs-tools
|
||||
python3-libguestfs
|
||||
guestfs-tools # Complementary tools useful for interacting with vith guest systems
|
||||
|
||||
%end # End of the packages section
|
||||
|
||||
%post --nochroot --log=/mnt/sysimage/root/bhmd.log # Beginning of %post section. Those commands are executed outside the chroot environment
|
||||
|
||||
mkdir /mnt/sysimage/var/lib/libvirt/iso # Create a directory to store iso images
|
||||
# virsh pool-create-as --name iso --type dir --target /mnt/sysimage/var/lib/libvirt/iso # Make libvirt aware of this new directory by creating a so-called 'pool'
|
||||
# doesn't work
|
||||
|
||||
# Add a network bridge. Still need to declare it to virt-manager
|
||||
nmcli con add ifname br0 type bridge con-name br0
|
||||
nmcli con add type bridge-slave ifname enp1s0 master br0
|
||||
nmcli con up br0
|
||||
|
||||
%end # End of the %post section
|
@ -5,8 +5,10 @@
|
||||
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file provides a basic block to build a minimal, live, gnome-shell based (desktop-oriented), operating system.
|
||||
# 'b' for basic building block, 'l' for live, 'm' for minimal, 'd' for development only.
|
||||
# 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
|
||||
|
||||
# This kickstart file in particular would not have been possible without the hard work of the following people,
|
||||
# which are the current and former maintainers of the official fedora kickstart files :
|
||||
@ -37,7 +39,7 @@ clearpart --all
|
||||
part / --size 5120 --fstype ext4
|
||||
bootloader --timeout=1
|
||||
|
||||
services --enabled=NetworkManager --disabled=sshd
|
||||
services --enabled=NetworkManager --disabled=sshd
|
||||
network --bootproto=dhcp --device=link --activate --hostname=phyllome
|
||||
|
||||
rootpw --lock --iscrypted locked
|
||||
@ -111,7 +113,7 @@ generic-release-notes # "Release Notes"
|
||||
|
||||
%end # End of the packages section
|
||||
|
||||
%post --log=/root/blmd.log # Beginning of the post-installation section. Add logging.
|
||||
%post --log=/root/bl.log # Beginning of the post-installation section. Add logging.
|
||||
# FIXME: it'd be better to get this installed from a package
|
||||
cat > /etc/rc.d/init.d/livesys << EOF
|
||||
#!/bin/bash
|
@ -5,10 +5,11 @@
|
||||
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file provides a basic block beyond the minimal operating system.
|
||||
# It tries to go beyond what the minimal machine offers.
|
||||
# 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.
|
||||
|
||||
# This is NOT a standalone kickstart file.
|
||||
|
||||
# known issue : name resolution doesn't work as of now
|
||||
|
||||
# ATTENTION : this kickstart file will automatically DESTROY the main disk and all of its contents.
|
||||
|
@ -6,39 +6,31 @@
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file bootstraps a desktop machine.
|
||||
# 'd' for desktop, 'm' for minimal, 'd' for development only.
|
||||
# 'd' for desktop
|
||||
|
||||
# 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 dmd.cfg -o flat-dmd.cfg
|
||||
# ksflatten -c d.cfg -o ../flat/flat-d.cfg
|
||||
|
||||
%include bmd.cfg # A base system
|
||||
%include bdmd.cfg # A desktop environment
|
||||
%include b.cfg # A base system
|
||||
%include bd.cfg # A desktop environment
|
||||
|
||||
reboot --kexec # Reboot straight into the system after a successfull installation
|
||||
|
||||
%packages --exclude-weakdeps # Beginning of the packages section. Do not include weak dependencies.
|
||||
|
||||
gnome-initial-setup # Add GNOME initial setup too. Does work.
|
||||
gnome-initial-setup # Add GNOME initial setup too.
|
||||
|
||||
%end # End of the %post section
|
||||
|
||||
%post --nochroot --log=/mnt/sysimage/root/dmd.log # Beginning of %post section. Those commands are executed outside the chroot environment. Add logging.
|
||||
%post --nochroot --log=/mnt/sysimage/root/d.log # Beginning of %post section. Those commands are executed outside the chroot environment. Add logging.
|
||||
|
||||
truncate -s 0 /mnt/sysimage/usr/share/gnome-initial-setup/vendor.conf # remove content of vendor.conf so that all options are made available
|
||||
|
||||
# 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
|
||||
|
||||
# Autostart virt-manager
|
||||
cat << EOF > /mnt/sysimage/etc/xdg/autostart/virt-manager.desktop
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Virtual Machine Manager
|
||||
Exec=virt-manager
|
||||
EOF
|
||||
|
||||
%end # End of the %post section
|
@ -6,18 +6,18 @@
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file bootstraps a desktop hypervisor.
|
||||
# 'd' for desktop, 'h' for hypervisor, 'm' for minimal, 'd' for development only.
|
||||
# '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 dhmd.cfg -o flat-dhmd.cfg
|
||||
# ksflatten -c dh.cfg -o ../flat/flat-dh.cfg
|
||||
|
||||
%include bmd.cfg # A minimal machine
|
||||
%include bdmd.cfg # A desktop environment
|
||||
%include bhmd.cfg # A base hypervisor
|
||||
%include b.cfg # A minimal machine
|
||||
%include bd.cfg # A desktop environment
|
||||
%include bh.cfg # A base hypervisor
|
||||
|
||||
reboot --kexec # Reboot straight into the system after a successfull installation
|
||||
|
||||
@ -28,7 +28,9 @@ gnome-initial-setup # Add GNOME initial setup too to let user create local accou
|
||||
|
||||
%end # End of the packages section
|
||||
|
||||
%post --nochroot --log=/mnt/sysimage/root/dhmd.log # Beginning of %post section. Those commands are executed outside the chroot environment. Add logging.
|
||||
%post --nochroot --log=/mnt/sysimage/root/dh.log # Beginning of %post section. Those commands are executed outside the chroot environment. Add logging.
|
||||
|
||||
truncate -s 0 /mnt/sysimage/usr/share/gnome-initial-setup/vendor.conf # remove content of vendor.conf so that all options are made available
|
||||
|
||||
# Create a file to autostart virt-manager
|
||||
cat > /mnt/sysimage/etc/xdg/autostart/virt-manager.desktop << EOF
|
||||
@ -38,7 +40,4 @@ Name=Virtual Machine Manager
|
||||
Exec=virt-manager
|
||||
EOF
|
||||
|
||||
# Download netboot.xyz # cannot resolve hostname
|
||||
# wget https://boot.netboot.xyz/ipxe/netboot.xyz.iso -P /var/lib/libvirt/iso/
|
||||
|
||||
%end # End of the %post section
|
@ -6,19 +6,19 @@
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file bootstraps a desktop hypervisor configured for AMD (tm) CPUs.
|
||||
# 'd' for desktop, 'h' for hypervisor', 'a' for amd, 'm' for minimal, 'd' for development only.
|
||||
# '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 dhamd.cfg -o flat-dhamd.cfg
|
||||
# ksflatten -c dha.cfg -o ../flat/flat-dha.cfg
|
||||
|
||||
%include bmd.cfg # A minimal machine
|
||||
%include bdmd.cfg # A desktop environment
|
||||
%include bhmd.cfg # A base hypervisor
|
||||
%include bhamd.cfg # Specific virtualization configuration for AMD (tm) CPUs
|
||||
%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
|
||||
|
||||
reboot --kexec # Reboot straight into the system after a successfull installation
|
||||
|
||||
@ -29,7 +29,9 @@ gnome-initial-setup # Add GNOME initial setup too to let user create local accou
|
||||
|
||||
%end # End of the packages section
|
||||
|
||||
%post --nochroot --log=/mnt/sysimage/root/dhimd.log # Beginning of %post section. Those commands are executed outside the chroot environment. Add logging.
|
||||
%post --nochroot --log=/mnt/sysimage/root/dha.log # Beginning of %post section. Those commands are executed outside the chroot environment. Add logging.
|
||||
|
||||
truncate -s 0 /mnt/sysimage/usr/share/gnome-initial-setup/vendor.conf # remove content of vendor.conf so that all options are made available
|
||||
|
||||
# Create a file to autostart virt-manager
|
||||
cat > /mnt/sysimage/etc/xdg/autostart/virt-manager.desktop << EOF
|
||||
@ -39,7 +41,4 @@ Name=Virtual Machine Manager
|
||||
Exec=virt-manager
|
||||
EOF
|
||||
|
||||
# Download netboot.xyz # cannot resolve hostname
|
||||
# wget https://boot.netboot.xyz/ipxe/netboot.xyz.iso -P /var/lib/libvirt/iso/
|
||||
|
||||
%end # End of the %post section
|
@ -6,19 +6,19 @@
|
||||
# /_/ /____/
|
||||
|
||||
# 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, 'm' for minimal, 'd' for development only.
|
||||
# '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!
|
||||
|
||||
# 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 dhimd.cfg -o flat-dhimd.cfg
|
||||
# ksflatten -c dhi.cfg -o ../flat/flat-dhi.cfg
|
||||
|
||||
%include bmd.cfg # A minimal machine
|
||||
%include bdmd.cfg # A desktop environment
|
||||
%include bhmd.cfg # A base hypervisor
|
||||
%include bhimd.cfg # Specific virtualization configuration for Intel(tm) CPU and Intel(tm) graphic cards
|
||||
%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
|
||||
|
||||
reboot --kexec # Reboot straight into the system after a successfull installation
|
||||
|
||||
@ -29,7 +29,9 @@ gnome-initial-setup # Add GNOME initial setup too to let user create local accou
|
||||
|
||||
%end # End of the packages section
|
||||
|
||||
%post --nochroot --log=/mnt/sysimage/root/dhimd.log # Beginning of %post section. Those commands are executed outside the chroot environment. Add logging.
|
||||
%post --nochroot --log=/mnt/sysimage/root/dhi.log # Beginning of %post section. Those commands are executed outside the chroot environment. Add logging.
|
||||
|
||||
truncate -s 0 /mnt/sysimage/usr/share/gnome-initial-setup/vendor.conf # remove content of vendor.conf so that all options are made available
|
||||
|
||||
# Create a file to autostart virt-manager
|
||||
cat > /mnt/sysimage/etc/xdg/autostart/virt-manager.desktop << EOF
|
||||
@ -39,7 +41,4 @@ Name=Virtual Machine Manager
|
||||
Exec=virt-manager
|
||||
EOF
|
||||
|
||||
# Download netboot.xyz # cannot resolve hostname
|
||||
# wget https://boot.netboot.xyz/ipxe/netboot.xyz.iso -P /var/lib/libvirt/iso/
|
||||
|
||||
%end # End of the %post section
|
@ -6,7 +6,7 @@
|
||||
# /_/ /____/
|
||||
#
|
||||
# What ? This kickstart file bootstraps a live machine.
|
||||
# 'l' for live, 'm' for minimal, 'd' for development only.
|
||||
# 'l' for live
|
||||
|
||||
# Know bug: Cannot resolve host name
|
||||
|
||||
@ -15,15 +15,15 @@
|
||||
|
||||
# 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 lmd.cfg -o flat-lmd.cfg
|
||||
# ksflatten -c l.cfg -o ../flat/flat-l.cfg
|
||||
|
||||
%include blmd.cfg # A base for a minimal live machine
|
||||
%include bl.cfg # A base for a minimal live machine
|
||||
|
||||
%packages --exclude-weakdeps # Beginning of the packages section. Do not include weak dependencies.
|
||||
|
||||
%end # End of the packages section
|
||||
|
||||
%post --log=/root/lmd.log # Beginning of %post section. The following commands are executed inside a chroot environment. Add logging.
|
||||
%post --log=/root/l.log # Beginning of %post section. The following commands are executed inside a chroot environment. Add logging.
|
||||
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
|
@ -6,35 +6,26 @@
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file bootstraps a live desktop machine.
|
||||
# 'l' for live, 'd' for desktop, 'm' for minimal, 'd' for development only.
|
||||
# 'l' for live, 'd' for desktop
|
||||
|
||||
# ATTENTION : this kickstart file will automatically DESTROY the main disk and all of its contents.
|
||||
# Bye bye
|
||||
|
||||
# This kickstart file in particular would not have been possible without the hard work of the following people,
|
||||
# which are the current and former maintainers of the official fedora kickstart files :
|
||||
# Adam Miller, Bastien Nocera, Bruno Wolff III, Bryan Kearney, Chitlesh Goorah, Christoph Wickert,
|
||||
# Colin Walters, Fabian Affolter, Igor Pires Soares, Jens Petersen, Jeremy Katz, Jeroen van Meeuwen
|
||||
# Jesse Keating, Luya Tshimbalanga, Matthias Clasen, Pedro Silva, Rahul Sundaram, Sebastian Dziallas
|
||||
# Sebastian Vahl, wart. More information here : https://pagure.io/fedora-kickstarts
|
||||
#
|
||||
# Thank you!
|
||||
|
||||
# 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 ldmd.cfg -o flat-ldmd.cfg
|
||||
# ksflatten -c ld.cfg -o ../flat/flat-ld.cfg
|
||||
|
||||
# An ISO file can be created using the following command as *root*:
|
||||
# livecd-creator -c flat-ldmd.cfg --fslabel=ldmd
|
||||
# livecd-creator -c flat-ld.cfg --fslabel=ld
|
||||
# livecd-creator is part of the livecd-tools package
|
||||
|
||||
# The resulting ISO can be tested with qemu-kvm, using the following command as *root*:
|
||||
# qemu-kvm -m 2048 -vga virtio -display gtk,gl=on ldmd.iso
|
||||
# qemu-kvm -bios /usr/share/edk2/ovmf/OVMF_CODE.fd -m 2048 -vga virtio -display gtk,gl=on ld.iso
|
||||
|
||||
%include blmd.cfg # A base for a minimal live machine
|
||||
%include bdmd.cfg # A base for a desktop environment
|
||||
%include bl.cfg # A base for a minimal live machine
|
||||
%include bd.cfg # A base for a desktop environment
|
||||
|
||||
%post --log=/root/ldmd.log # Beginning of %post section. The following commands are executed inside a chroot environment. Add logging
|
||||
%post --log=/root/ld.log # Beginning of %post section. The following commands are executed inside a chroot environment. Add logging
|
||||
|
||||
cat >> /etc/rc.d/init.d/livesys << EOF
|
||||
|
@ -6,24 +6,24 @@
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file bootstraps a live desktop hypervisor machine.
|
||||
# 'l' for live, 'h' for hypervisor, 'd' for desktop, 'm' for minimal, 'd' for development only.
|
||||
# 'l' for live, 'h' for hypervisor, 'd' for desktop
|
||||
|
||||
# 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 ldhmd.cfg -o flat-ldhmd.cfg
|
||||
# ksflatten -c ldh.cfg -o ../flat/flat-ldh.cfg
|
||||
|
||||
# An ISO file can be created using the following command as *root*:
|
||||
# livecd-creator -c flat-ldhmd.cfg --fslabel=ldhmd
|
||||
# livecd-creator -c ../flat/flat-ldh.cfg --fslabel=ldh
|
||||
# livecd-creator is part of the livecd-tools package
|
||||
|
||||
# The resulting ISO can be tested with qemu-kvm, using the following command as *root*:
|
||||
# qemu-kvm -m 2048 -vga virtio -display gtk,gl=on ldhmd.iso
|
||||
# qemu-kvm -bios /usr/share/edk2/ovmf/OVMF_CODE.fd -m 2048 -vga virtio -display gtk,gl=on ldh.iso
|
||||
|
||||
%include ldmd.cfg # A base for a live desktop minimal machine
|
||||
%include bhmd.cfg # A base hypervisor
|
||||
%include ld.cfg # A base for a live desktop minimal machine
|
||||
%include bh.cfg # A base hypervisor
|
||||
|
||||
%packages --exclude-weakdeps # Beginning of the packages section. Do not include weak dependencies.
|
||||
|
||||
@ -31,7 +31,7 @@ virt-manager # Install virt-manager, the graphical front-end for QEMU/KVM
|
||||
|
||||
%end # End of the packages section
|
||||
|
||||
%post --nochroot --log=/mnt/sysimage/root/ldhmd.log # Beginning of %post section. Those commands are executed outside the chroot environment. Add logging.
|
||||
%post --nochroot --log=/mnt/sysimage/root/ldh.log # Beginning of %post section. Those commands are executed outside the chroot environment. Add logging.
|
||||
|
||||
usermod -a -G libvirt liveuser # Make user "liveuser" part of the existing libvirt group to allow it to interact with the guest-hypervisor.
|
||||
chown liveuser:liveuser /mnt/sysimage/var/lib/libvirt/iso # Make the user "liveuser" the owner of this directory
|
@ -6,25 +6,25 @@
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file bootstraps a live desktop hypervisor configured for AMD (tm) CPUs.
|
||||
# 'l' for live, 'd' for desktop, 'h' for hypervisor', 'a' for amd, 'm' for minimal, 'd' for development only.
|
||||
# 'l' for live, '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 ldhamd.cfg -o flat-ldhamd.cfg
|
||||
# ksflatten -c ldha.cfg -o ../flat/flat-ldha.cfg
|
||||
|
||||
# An ISO file can be created using the following command as *root*:
|
||||
# livecd-creator -c flat-ldhamd.cfg --fslabel=ldhamd
|
||||
# livecd-creator -c ../flat/flat-ldha.cfg --fslabel=ldha
|
||||
# livecd-creator is part of the livecd-tools package
|
||||
|
||||
# The resulting ISO can be tested with qemu-kvm, using the following command as *root*:
|
||||
# qemu-kvm -m 2048 -vga virtio -display gtk,gl=on ldhamd.iso
|
||||
# qemu-kvm -bios /usr/share/edk2/ovmf/OVMF_CODE.fd -m 2048 -vga virtio -display gtk,gl=on ldha.iso
|
||||
|
||||
%include ldmd.cfg # A base for a live desktop minimal machine
|
||||
%include bhmd.cfg # A base hypervisor
|
||||
%include bhamd.cfg # Specific virtualization configuration for AMD (tm) CPUs
|
||||
%include ld.cfg # A base for a live desktop minimal machine
|
||||
%include bh.cfg # A base hypervisor
|
||||
%include bha.cfg # Specific virtualization configuration for AMD (tm) CPUs
|
||||
|
||||
%packages --exclude-weakdeps # Beginning of the packages section. Do not include weak dependencies.
|
||||
|
||||
@ -32,7 +32,7 @@ virt-manager # Install virt-manager, the graphical front-end for QEMU/KVM
|
||||
|
||||
%end # End of the packages section
|
||||
|
||||
%post --nochroot --log=/mnt/sysimage/root/ldhamd.log # Beginning of %post section. Those commands are executed outside the chroot environment. Add logging.
|
||||
%post --nochroot --log=/mnt/sysimage/root/ldha.log # Beginning of %post section. Those commands are executed outside the chroot environment. Add logging.
|
||||
|
||||
usermod -a -G libvirt liveuser # Make user "liveuser" part of the existing libvirt group to allow it to interact with the guest-hypervisor.
|
||||
chown liveuser:liveuser /mnt/sysimage/var/lib/libvirt/iso # Make the user "liveuser" the owner of this directory
|
@ -6,25 +6,25 @@
|
||||
# /_/ /____/
|
||||
|
||||
# What ? This kickstart file bootstraps a live desktop hypervisor configured for Intel(tm) CPU and Intel(tm) graphic cards.
|
||||
# 'l' for live, 'd' for desktop, 'h' for hypervisor, 'i' for intel, 'm' for minimal, 'd' for development only.
|
||||
# 'l' for live, '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!
|
||||
|
||||
# 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 ldhimd.cfg -o flat-ldhimd.cfg
|
||||
# ksflatten -c ldhi.cfg -o ../flat/flat-ldhi.cfg
|
||||
|
||||
# An ISO file can be created using the following command as *root*:
|
||||
# livecd-creator -c flat-ldhimd.cfg --fslabel=ldhimd
|
||||
# livecd-creator is part of the livecd-tools package
|
||||
# livecd-creator -c ../flat/flat-ldhi.cfg --fslabel=ldhi
|
||||
# on Fedora, livecd-creator is part of the livecd-tools package
|
||||
|
||||
# The resulting ISO can be tested with qemu-kvm, using the following command as *root*:
|
||||
# qemu-kvm -m 2048 -vga virtio -display gtk,gl=on ldhimd.iso
|
||||
# qemu-kvm -bios /usr/share/edk2/ovmf/OVMF_CODE.fd -m 2048 -vga virtio -display gtk,gl=on ldhi.iso
|
||||
|
||||
%include ldmd.cfg # A base for a live desktop minimal machine
|
||||
%include bhmd.cfg # A base hypervisor
|
||||
%include bhimd.cfg # Specific virtualization configuration for Intel(tm) CPU and Intel(tm) graphic cards
|
||||
%include ld.cfg # A base for a live desktop minimal machine
|
||||
%include bh.cfg # A base hypervisor
|
||||
%include bhi.cfg # Specific virtualization configuration for Intel(tm) CPU and Intel(tm) graphic cards
|
||||
|
||||
%packages --exclude-weakdeps # Beginning of the packages section. Do not include weak dependencies.
|
||||
|
||||
@ -32,7 +32,7 @@ virt-manager # Install virt-manager, the graphical front-end for QEMU/KVM
|
||||
|
||||
%end # End of the packages section
|
||||
|
||||
%post --nochroot --log=/mnt/sysimage/root/ldhimd.log # Beginning of %post section. Those commands are executed outside the chroot environment. Add logging.
|
||||
%post --nochroot --log=/mnt/sysimage/root/ldhi.log # Beginning of %post section. Those commands are executed outside the chroot environment. Add logging.
|
||||
|
||||
usermod -a -G libvirt liveuser # Make user "liveuser" part of the existing libvirt group to allow it to interact with the guest-hypervisor.
|
||||
chown liveuser:liveuser /mnt/sysimage/var/lib/libvirt/iso # Make the user "liveuser" the owner of this directory
|
9
leaves/ls.cfg
Normal file
9
leaves/ls.cfg
Normal file
@ -0,0 +1,9 @@
|
||||
# __ ____ ____ _____
|
||||
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
|
||||
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
|
||||
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
|
||||
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||
# /_/ /____/
|
||||
|
||||
# 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
|
9
leaves/lsh.cfg
Normal file
9
leaves/lsh.cfg
Normal file
@ -0,0 +1,9 @@
|
||||
# __ ____ ____ _____
|
||||
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
|
||||
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
|
||||
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
|
||||
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||
# /_/ /____/
|
||||
|
||||
# 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'
|
9
leaves/lsha.cfg
Normal file
9
leaves/lsha.cfg
Normal file
@ -0,0 +1,9 @@
|
||||
# __ ____ ____ _____
|
||||
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
|
||||
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
|
||||
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
|
||||
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||
# /_/ /____/
|
||||
|
||||
# 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
|
9
leaves/lshi.cfg
Normal file
9
leaves/lshi.cfg
Normal file
@ -0,0 +1,9 @@
|
||||
# __ ____ ____ _____
|
||||
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
|
||||
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
|
||||
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
|
||||
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||
# /_/ /____/
|
||||
|
||||
# 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 Intel (tm) CPUs
|
||||
# 'l' for live, 's' for server, 'h' for hypervisor', 'i' for intel
|
@ -5,19 +5,16 @@
|
||||
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||
# /_/ /____/
|
||||
#
|
||||
# What ? This kickstart file automatically deploys a minimal system.
|
||||
# 'm' for minimal, 'd' for development only.
|
||||
# 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
|
||||
|
||||
# Know bug: Cannot resolve host name
|
||||
|
||||
# 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 bmd.cfg -o flat-bmd.cfg
|
||||
# ksflatten -c s.cfg -o ../flat/flat-s.cfg
|
||||
|
||||
%include bmd.cfg # A base system
|
||||
%include b.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
|
||||
@ -26,4 +23,6 @@ reboot --kexec # Reboot straight into the system after a successfull installatio
|
||||
|
||||
initial-setup # Install the initial setup package.
|
||||
|
||||
# Download netboot.xyz # cannot resolve hostname
|
||||
|
||||
%end # End of the packages section
|
27
leaves/sh.cfg
Normal file
27
leaves/sh.cfg
Normal file
@ -0,0 +1,27 @@
|
||||
# __ ____ ____ _____
|
||||
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
|
||||
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
|
||||
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
|
||||
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||
# /_/ /____/
|
||||
#
|
||||
# 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
|
||||
|
||||
# Know bug: Cannot resolve host name
|
||||
|
||||
# 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 ../flat/flat-sh.cfg
|
||||
|
||||
%include b.cfg # A base system
|
||||
%include bh.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
|
||||
|
||||
%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
|
28
leaves/sha.cfg
Normal file
28
leaves/sha.cfg
Normal file
@ -0,0 +1,28 @@
|
||||
# __ ____ ____ _____
|
||||
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
|
||||
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
|
||||
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
|
||||
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||
# /_/ /____/
|
||||
#
|
||||
# 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
|
||||
|
||||
# Know bug: Cannot resolve host name
|
||||
|
||||
# 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 ../flat/flat-sha.cfg
|
||||
|
||||
%include b.cfg # Include a base system
|
||||
%include bh.cfg # A base hypervisor
|
||||
%include bha.cfg # Specific virtualization tweaks 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
|
||||
|
||||
%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
|
28
leaves/shi.cfg
Normal file
28
leaves/shi.cfg
Normal file
@ -0,0 +1,28 @@
|
||||
# __ ____ ____ _____
|
||||
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
|
||||
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
|
||||
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
|
||||
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||
# /_/ /____/
|
||||
#
|
||||
# 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
|
||||
|
||||
# Know bug: Cannot resolve host name
|
||||
|
||||
# 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 ../flat/flat-shi.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
|
||||
|
||||
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
|
Reference in New Issue
Block a user