1,16 → 1,15 |
#!/usr/bin/perl -cw |
# |
# Configuration file written by : |
# * Hamza ESSAYEGH (Querdos) Laurent Roux |
# * Hamza ESSAYEGH (Querdos) Laurent Roux Rexy |
# |
# /!\ Before putting this file in the iso, check the syntax with |
# `perl -cw auto_inst.cfg.pl` |
# /!\ The package list will be generated in the iso creation script |
|
# See https://wiki.mageia.org/en/Auto_inst for more informations |
|
$o = { |
# Interactive steps option |
# http://members.shaw.ca/mandrake/ -> section Replay Steps for |
# more informations |
'interactiveSteps' => [ |
# Select language(s) support to be installed. |
'selectLanguage', |
70,12 → 69,14 |
'clearall' => 1 |
}, |
|
'enabled_media' => [ |
'Core Release (Installer)', |
'Nonfree Release (Installer)' |
], |
'enabled_media' => [ |
'Core Release (Installer)', |
'Nonfree Release (Installer)' |
], |
|
|
'X' => { 'disabled' => 1 }, |
|
|
# Post installation script, executed as root in the installed |
# environments and not inside the DrakX installation program |
'postInstallNonRooted' => " |
90,22 → 91,16 |
|
# Allow root shell login |
rm -f /mnt/etc/securetty |
|
# Install server kernel |
urpmi --root /mnt/ --auto /tmp/media/x86_64/media/core/kernel-server-4*.rpm --no-verify-rpm |
|
|
# Lock kernel version (exclude from further updates) |
echo '/^kernel/' > /mnt/etc/urpmi/skip.list |
|
# Place ISO_INSTALL flag |
touch /mnt/root/iso_install |
", |
|
'postInstall' => " |
#sert à la synchro des DD en cas d'un RAID |
dracut -f -H |
#pour synchro horloge |
hwclock --systohc --utc |
# synchro des DD en cas d'un RAID |
dracut -f -H |
# synchro horloge |
hwclock --systohc --utc |
", |
|
|