remove commented section
This commit is contained in:
parent
cb464bae21
commit
72a9f5ceef
@ -25,13 +25,10 @@ guestfs-tools # Complementary tools useful for interacting with vith guest syste
|
||||
%post --nochroot # Beginning of %post section. Those commands are executed outside the chroot environment
|
||||
|
||||
mkdir /var/lib/libvirt/iso # Create a directory to store iso images
|
||||
# chown liveuser:liveuser /var/lib/libvirt/iso # Make the user "liveuser" the owner of this directory
|
||||
virsh pool-create-as --name iso --type dir --target /var/lib/libvirt/iso # Make libvirt aware of this new directory by creating a so-called 'pool'
|
||||
# mkdir /var/lib/libvirt/rom # Create a directory to store rom files
|
||||
# chown liveuser:liveuser /var/lib/libvirt/rom # Make the user "test" its owner
|
||||
# chown liveuser:liveuser /var/lib/libvirt/images # Make the user "test" the owner of this directory
|
||||
|
||||
nmcli con add ifname br0 type bridge con-name br0 # Add a network bridge
|
||||
# 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
|
||||
|
||||
|
@ -8,9 +8,6 @@
|
||||
# What ? This kickstart file provides a base for a minimal live machine based on Fedora 34.
|
||||
# 'b' for basic building block, 'l' for live, 'm' for minimal, 'd' for development only.
|
||||
|
||||
# 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,
|
||||
|
@ -10,9 +10,6 @@
|
||||
|
||||
# Know bug: Cannot resolve host name
|
||||
|
||||
# ATTENTION : this kickstart file will automatically DESTROY the main virtual disk 'vda' and all of its contents.
|
||||
# Bye bye!
|
||||
|
||||
text # Perform installation in text mode
|
||||
|
||||
repo --name=fedora --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch # Official Fedora mirror
|
||||
@ -24,13 +21,8 @@ keyboard --xlayouts='ch (fr)' # set keyboard layouts for Romandie # Unnecessary
|
||||
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
|
||||
|
||||
# Set dummy encrypted root password and activate the root account
|
||||
# rootpw --iscrypted $6$2rA58L/SQu5.xMTb$u8.zqBWE5bK1/N983qDpJEp41yg66GwQ3YVTpsRghVhNiZypWyo2Zq2Qwr2tCM3bt50mKMIgHzbPdtSq9ErPz.
|
||||
rootpw --lock --iscrypted locked # Lock the root account
|
||||
|
||||
# Create "test" user account # Unnecessary if using inital-setup
|
||||
# user --name=test --password=$6$wlB.n8fvumAXv3xn$clVIswjLUjb7MZoJ2JHi1zk1zmx5ViQuzbVkLYf70SDan5hdqI0tUkc89nHE8pVnHStO4mcl3c1Tk0WJvCet1. --iscrypted --gecos="test"
|
||||
|
||||
firewall --enabled # 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
|
||||
@ -44,13 +36,11 @@ bootloader --timeout=1 # Set the 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
|
||||
# firstboot --enable # Initial Setup will start after the first reboot
|
||||
|
||||
%packages --exclude-weakdeps # Beginning of the packages section. Do not include weak dependencies.
|
||||
|
||||
@core # minimal installation
|
||||
pciutils # Pciutils provides lspci commandline tool and is not installed by default
|
||||
# initial-setup # Install the initial setup package. For the GUI version, use initial-setup-gui instead.
|
||||
qemu-guest-agent # "QEMU guest agent"
|
||||
spice-vdagent # "Agent for Spice guests"
|
||||
-fedora-logos # Fedora logos
|
||||
|
Loading…
x
Reference in New Issue
Block a user