From 188a44e1e36644f3e3dd0709393154dfcf7bf881 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Wed, 20 Feb 2019 19:56:03 +0100 Subject: [PATCH] petites modifs --- auto_inst.cfg.pl | 52 +++++++++++++++++++-------------------- auto_inst.cfg_fullauto.pl | 46 +++++++++++++++++----------------- default.pxe_config | 4 +++ 3 files changed, 53 insertions(+), 49 deletions(-) diff --git a/auto_inst.cfg.pl b/auto_inst.cfg.pl index c159f62..c46bb6d 100755 --- a/auto_inst.cfg.pl +++ b/auto_inst.cfg.pl @@ -4,7 +4,7 @@ # You can do this with 'perl -cw auto_inst.cfg.pl' or by executing this file # (note the '#!/usr/bin/perl -cw' on the first line). $o = { - 'X' => { + 'X' => { 'monitors' => [ { 'VendorName' => 'Plug\'n Play', @@ -13,12 +13,12 @@ $o = { ], 'resolution_wanted' => 'x' }, - 'authentication' => { + 'authentication' => { 'sha512' => 1, 'shadow' => 1 }, - 'autoExitInstall' => '1', - 'default_packages' => [ + 'autoExitInstall' => '1', + 'default_packages' => [ 'acpi', 'acpid', 'akonadi', @@ -699,7 +699,7 @@ $o = { 'zeroconf-ioslave', 'zip' ], - 'enabled_media' => [ + 'enabled_media' => [ 'Core Release', 'Core Updates', 'Nonfree Release', @@ -716,7 +716,7 @@ $o = { 'GRP_TOGGLE' => '', 'KEYBOARD' => 'fr' }, - 'locale' => { + 'locale' => { 'IM' => undef, 'country' => 'FR', 'lang' => 'fr', @@ -729,7 +729,7 @@ $o = { 'numlock' => 1, 'HDPARM' => 1 }, - 'mouse' => { + 'mouse' => { 'EmulateWheel' => undef, 'MOUSETYPE' => 'ps/2', 'Protocol' => 'ExplorerPS/2', @@ -751,20 +751,20 @@ $o = { 'synaptics' => undef, 'type' => 'Universal', 'wacom' => [] - }, - 'net' => { - 'PROFILE' => 'default', - 'ethernet' => {}, - 'ifcfg' => { + }, + 'net' => { + 'PROFILE' => 'default', + 'ethernet' => {}, + 'ifcfg' => { }, - 'net_interface' => '', - 'network' => { - 'CRDA_DOMAIN' => 'FR', - 'FORWARD_IPV4' => 'false', - 'GATEWAY' => '', - 'NETWORKING' => 'yes' - }, - 'resolv' => { + 'net_interface' => '', + 'network' => { + 'CRDA_DOMAIN' => 'FR', + 'FORWARD_IPV4' => 'false', + 'GATEWAY' => '', + 'NETWORKING' => 'yes' + }, + 'resolv' => { 'DOMAINNAME' => undef, 'DOMAINNAME2' => undef, 'DOMAINNAME3' => undef, @@ -772,9 +772,9 @@ $o = { 'dnsServer2' => undef, 'dnsServer3' => undef }, - 'type' => 'ethernet', - 'wireless' => {}, - 'zeroconf' => {} + 'type' => 'ethernet', + 'wireless' => {}, + 'zeroconf' => {} }, 'bootloader' => { 'method' => 'grub2-graphic', @@ -782,9 +782,9 @@ $o = { 'timeout' => 5, 'crushMbr' => 1, }, - 'security' => 1, - 'security_user' => undef, - 'superuser' => { + 'security' => 1, + 'security_user' => undef, + 'superuser' => { 'gid' => '0', 'home' => '/root', 'pw' => '$6$4olYuu4o35YoPivZ$jJVF1JHdP9g2rMRivkHywyPZfHe/b/d9RtD09/0p8NBRmCgTQy0x5rgHcBm18D66Dqf0HSZcd8QjSAgiAaV1/1', diff --git a/auto_inst.cfg_fullauto.pl b/auto_inst.cfg_fullauto.pl index 55249ef..29bb8e7 100755 --- a/auto_inst.cfg_fullauto.pl +++ b/auto_inst.cfg_fullauto.pl @@ -14,8 +14,8 @@ $o = { 'resolution_wanted' => 'x' }, 'authentication' => { - 'sha512' => 1, - 'shadow' => 1 + 'sha512' => 1, + 'shadow' => 1 }, 'autoExitInstall' => '0', 'default_packages' => [ @@ -751,28 +751,28 @@ $o = { 'wacom' => [] }, 'net' => { - 'PROFILE' => 'default', - 'ethernet' => {}, - 'ifcfg' => { + 'PROFILE' => 'default', + 'ethernet' => {}, + 'ifcfg' => { + }, + 'net_interface' => '', + 'network' => { + 'CRDA_DOMAIN' => 'FR', + 'FORWARD_IPV4' => 'false', + 'GATEWAY' => '', + 'NETWORKING' => 'yes' }, - 'net_interface' => '', - 'network' => { - 'CRDA_DOMAIN' => 'FR', - 'FORWARD_IPV4' => 'false', - 'GATEWAY' => '', - 'NETWORKING' => 'yes' - }, - 'resolv' => { - 'DOMAINNAME' => undef, - 'DOMAINNAME2' => undef, - 'DOMAINNAME3' => undef, - 'dnsServer' => undef, - 'dnsServer2' => undef, - 'dnsServer3' => undef - }, - 'type' => 'ethernet', - 'wireless' => {}, - 'zeroconf' => {} + 'resolv' => { + 'DOMAINNAME' => undef, + 'DOMAINNAME2' => undef, + 'DOMAINNAME3' => undef, + 'dnsServer' => undef, + 'dnsServer2' => undef, + 'dnsServer3' => undef + }, + 'type' => 'ethernet', + 'wireless' => {}, + 'zeroconf' => {} }, 'bootloader' => { 'method' => 'grub2-graphic', diff --git a/default.pxe_config b/default.pxe_config index 6f919f1..f4e7e02 100644 --- a/default.pxe_config +++ b/default.pxe_config @@ -11,6 +11,10 @@ label efface disque KERNEL images/memdisk APPEND iso initrd=images/dban-2.3.0_i586.iso raw +label live plasma + KERNEL images/memdisk + APPEND iso initrd=images/ raw + label 6-64 KERNEL images/vmlinuz-mageia6_64 APPEND initrd=images/mageia6_64.rdz ramdisk_size=128000 vga=788 automatic=method:http,interface:auto,network:dhcp,server:192.168.1.253,directory:/mageia/distrib/6/ auto_install=/mageia/distrib/6_auto_inst.cfg.pl root=/dev/ram3 rw