Table des matières

,

Notes RedHat 8

Savoir quel repo fourni ce paquet

C'est équivalent à https://www.debian.org/distrib/packages

Upstream

remplace les “software collections”

dnf module list python\*

Durée support RPM upstream :

Cockpit

systemctl enable --now cockpit.socket

https://192.168.205.17:9090/

sosreport

sos report -q --case-id 000000 --since YYYYMMDD[HHMMSS] --batch

Voir exemples :

Kickstart

/root/anaconda-ks.cfg
#version=RHEL8
ignoredisk --only-use=sda
autopart --type=lvm
# Partition clearing information
clearpart --none --initlabel
# Use graphical install
graphical
repo --name="AppStream" --baseurl=file:///run/install/repo/AppStream
# Use CDROM installation media
cdrom
# Keyboard layouts
keyboard --vckeymap=fr-oss --xlayouts='fr (oss)'
# System language
lang fr_FR.UTF-8

# Network information
network  --bootproto=dhcp --device=eno1 --onboot=off --ipv6=auto --no-activate
network  --bootproto=dhcp --device=eno2 --onboot=off --ipv6=auto
network  --bootproto=dhcp --device=ens1f0 --onboot=off --ipv6=auto
network  --bootproto=dhcp --device=ens1f1 --onboot=off --ipv6=auto
network  --hostname=localhost.localdomain
# Root password
rootpw --iscrypted $6$y7OkciVm6G9s6UuX$a2IkDM/gA5NKzZ9bhOpcvtkUGJGLuPiQgi7HC/j4Vi0YNDAL0DAEpy0/YYHDuD4K6fLSLK.ZAX3vfVdFsptkF.
# X Window System configuration information
xconfig  --startxonboot
# Run the Setup Agent on first boot
firstboot --enable
# System services
services --enabled="chronyd"
# System timezone
timezone America/New_York
user --groups=wheel --name=etudes --password=$6$HMoI2LNg7moFNuWa$Zr96SAYwZ/.ZkK3S6w0eD8pYiItlV0HtJgCfq30HlhWrr0blzyfbuhNe1fQpqdJ7rdyHsdj7/IEiaddP5Juiu1 --iscrypted --gecos="etudes"

%packages
@^graphical-server-environment
kexec-tools

%end

%addon com_redhat_kdump --enable --reserve-mb='auto'

%end

%anaconda
pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty
pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty
%end