# dans cet exemple le mot de passe root est 123Soleil #version=RHEL7 # System authorization information auth --enableshadow --passalgo=sha512 # Use CDROM installation media url --url "http://100.0.0.10/CentOS/" skipx text # Run the Setup Agent on first boot ignoredisk --only-use=sda # Keyboard layouts keyboard --vckeymap=fr-oss --xlayouts='fr (oss)' # System language lang fr_FR.UTF-8 selinux --permissive # Network information network --bootproto=dhcp --device=enp0s3 --onboot=off --ipv6=auto --hostname=localhost.localdomain # Root password rootpw --iscrypted $6$KWekXUKZZX9277PC$uqoXj8hoEOswwdkIxzJHhKSUg2BRW.bWgGr5Xlor7nTDWz3L.0T9U6YtPxtvWPHpYkDyfaIBb.yXuap22xLEq0 # System timezone timezone Europe/Paris --isUtc # System bootloader configuration bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda autopart --type=lvm # Partition clearing information clearpart --all firstboot --disable reboot %packages @core vim-enhanced rsync %end