Mageia Bugzilla – Attachment 8198 Details for
Bug 18780
grub.cfg entries uses "root=/dev/sdXY" (instead of "root=UUID...") which breaks boot if devices change order
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
my autoinst file
auto_inst.cfg.pl (text/plain), 5.14 KB, created by
Thierry Vignaud
on 2016-07-17 16:42:37 CEST
(
hide
)
Description:
my autoinst file
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2016-07-17 16:42:37 CEST
Size:
5.14 KB
patch
obsolete
>#!/usr/bin/perl -cw ># ># You should check the syntax of this file before using it in an auto-install. ># 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' => { > 'monitors' => [ > { > 'VendorName' => 'Plug\'n Play', > 'manually_chosen' => 1 > } > ], > 'resolution_wanted' => 'x' > }, > 'authentication' => { > 'blowfish' => 1, > 'shadow' => 1 > }, > 'autoExitInstall' => '', # we want to review > compssListLevel => 5, > compssUsersChoice => { CAT_MINIMAL_DOCS => 1, CAT_SYSTEM => 1}, # else default_packages is ignored > 'default_packages' => [ > 'basesystem', > 'bash-completion', # better debugging > 'bc', > 'curl', > 'dhcp-client', > 'drakx-kbd-mouse-x11', > 'drakxtools-curses', > 'hexedit', > 'info', > 'kernel-desktop-latest', > 'ldetect', > 'ldetect-lst', > 'lftp', > 'locales-en', > 'lsof', > 'man-pages', > 'ntfs-3g', > 'numlock', > 'openssh-clients', # for lftp fish:// > 'openssh-server', # for remote debugging > 'plymouth', > 'strace', > 'sudo', # remote dbg > 'usbutils', > 'urpmi', > 'vim-enhanced', # better debugging > ], > 'enabled_media' => [ > 'Core Release', > 'Core Updates', ># 'Tainted Release', ># 'Nonfree Release', ># 'Nonfree Updates', > 'Core 32bit Release', > 'Nonfree 32bit Release' > ], > 'interactiveSteps' => [ > 'summary', > #'doPartitionDisks', > #'formatPartitions' > ], > 'keyboard' => { > 'KEYBOARD' => 'fr' > }, > 'locale' => { > 'IM' => undef, > 'country' => 'US', > 'lang' => 'fr_FR', > 'langs' => { > 'en_US' => 1 > }, > 'utf8' => 1 > }, > 'mouse' => { > 'EmulateWheel' => undef, > 'MOUSETYPE' => 'ps/2', > 'Protocol' => 'ExplorerPS/2', > 'device' => 'input/mice', > 'evdev_mice' => [ > { > 'HWheelRelativeAxisButtons' => '7 6', > 'device' => '/dev/input/by-id/usb-noserial-event-mouse' > } > ], > 'evdev_mice_all' => [ > { > 'HWheelRelativeAxisButtons' => '7 6', > 'device' => '/dev/input/by-id/usb-QEMU_QEMU_USB_Tablet_42-event-mouse' > }, > { > 'HWheelRelativeAxisButtons' => '7 6', > 'device' => '/dev/input/by-id/usb-noserial-event-mouse' > } > ], > 'name' => 'Any PS/2 & USB mice', > 'nbuttons' => 7, > 'synaptics' => undef, > 'type' => 'Universal', > 'wacom' => [] > }, > 'net' => { > 'PROFILE' => 'default', > 'ethernet' => {}, > 'ifcfg' => { > 'enp2s1' => { > 'BOOTPROTO' => 'dhcp', > 'BROADCAST' => '', > 'DEVICE' => 'enp2s1', > 'HWADDR' => undef, > 'METRIC' => 10, > 'NETWORK' => '', > 'isPtp' => '', > 'isUp' => 1 > } > }, > 'net_interface' => 'enp2s1', > 'network' => { > 'CRDA_DOMAIN' => 'US', > 'FORWARD_IPV4' => 'false', > 'GATEWAY' => '192.168.124.1', > 'NETWORKING' => 'yes' > }, > 'resolv' => { > 'DOMAINNAME' => 'nameserver', > 'DOMAINNAME2' => '192.168.124.1', > 'DOMAINNAME3' => undef, > 'dnsServer' => '192.168.124.1', > 'dnsServer2' => undef, > 'dnsServer3' => undef > }, > 'type' => 'ethernet', > 'wireless' => {}, > 'zeroconf' => {} > }, > 'nomouseprobe' => undef, > 'no_recommends' => 1, > 'partitioning' => { > 'auto_allocate' => 1, > 'clearall' => 1, > 'eraseBadPartitions' => 0, > 'fdisk' => undef, > 'no_bad_drives' => undef, > 'nodmraid' => undef > }, > 'partitions' => [ > { > 'fs_type' => 'swap', > 'mntpoint' => 'swap', > 'options' => 'defaults', > 'size' => 70 << 11, > }, > { > 'fs_type' => 'vfat', > 'mntpoint' => '/boot/EFI', > 'options' => 'umask=0,iocharset=utf8', > 'size' => 100 << 11 > }, > { > 'fs_type' => 'ext4', > 'mntpoint' => '/', > 'options' => 'relatime,acl', > 'ratio' => 99 > }, > ], > 'security' => 1, > 'security_user' => undef, > 'superuser' => { > 'gid' => '0', > 'home' => '/root', > 'pw' => '$2a$08$zMo2uYOaYWm4SeCw1XZCp.V.w1wSbWuGxFdwE4qaci0zbm2lUiOzu', > 'realname' => 'root', > 'shell' => '/bin/bash', > 'uid' => '0' > }, > 'timezone' => { > 'UTC' => 0, > 'ntp' => undef, > 'timezone' => 'America/New_York' > }, > # default user: 'e' > 'users' => [ > { > 'gid' => undef, > 'groups' => [], > 'icon' => 'default', > 'name' => 'e', > 'realname' => 'e', > 'shell' => '/bin/bash', > 'uid' => undef > } > ], > # No FW: > 'services' => [ > 'acpid', > 'network', > 'network-up', > 'resolvconf', > 'sshd', # for remote debugging > 'systemd-networkd', > 'systemd-resolved' > ], > };
#!/usr/bin/perl -cw # # You should check the syntax of this file before using it in an auto-install. # 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' => { 'monitors' => [ { 'VendorName' => 'Plug\'n Play', 'manually_chosen' => 1 } ], 'resolution_wanted' => 'x' }, 'authentication' => { 'blowfish' => 1, 'shadow' => 1 }, 'autoExitInstall' => '', # we want to review compssListLevel => 5, compssUsersChoice => { CAT_MINIMAL_DOCS => 1, CAT_SYSTEM => 1}, # else default_packages is ignored 'default_packages' => [ 'basesystem', 'bash-completion', # better debugging 'bc', 'curl', 'dhcp-client', 'drakx-kbd-mouse-x11', 'drakxtools-curses', 'hexedit', 'info', 'kernel-desktop-latest', 'ldetect', 'ldetect-lst', 'lftp', 'locales-en', 'lsof', 'man-pages', 'ntfs-3g', 'numlock', 'openssh-clients', # for lftp fish:// 'openssh-server', # for remote debugging 'plymouth', 'strace', 'sudo', # remote dbg 'usbutils', 'urpmi', 'vim-enhanced', # better debugging ], 'enabled_media' => [ 'Core Release', 'Core Updates', # 'Tainted Release', # 'Nonfree Release', # 'Nonfree Updates', 'Core 32bit Release', 'Nonfree 32bit Release' ], 'interactiveSteps' => [ 'summary', #'doPartitionDisks', #'formatPartitions' ], 'keyboard' => { 'KEYBOARD' => 'fr' }, 'locale' => { 'IM' => undef, 'country' => 'US', 'lang' => 'fr_FR', 'langs' => { 'en_US' => 1 }, 'utf8' => 1 }, 'mouse' => { 'EmulateWheel' => undef, 'MOUSETYPE' => 'ps/2', 'Protocol' => 'ExplorerPS/2', 'device' => 'input/mice', 'evdev_mice' => [ { 'HWheelRelativeAxisButtons' => '7 6', 'device' => '/dev/input/by-id/usb-noserial-event-mouse' } ], 'evdev_mice_all' => [ { 'HWheelRelativeAxisButtons' => '7 6', 'device' => '/dev/input/by-id/usb-QEMU_QEMU_USB_Tablet_42-event-mouse' }, { 'HWheelRelativeAxisButtons' => '7 6', 'device' => '/dev/input/by-id/usb-noserial-event-mouse' } ], 'name' => 'Any PS/2 & USB mice', 'nbuttons' => 7, 'synaptics' => undef, 'type' => 'Universal', 'wacom' => [] }, 'net' => { 'PROFILE' => 'default', 'ethernet' => {}, 'ifcfg' => { 'enp2s1' => { 'BOOTPROTO' => 'dhcp', 'BROADCAST' => '', 'DEVICE' => 'enp2s1', 'HWADDR' => undef, 'METRIC' => 10, 'NETWORK' => '', 'isPtp' => '', 'isUp' => 1 } }, 'net_interface' => 'enp2s1', 'network' => { 'CRDA_DOMAIN' => 'US', 'FORWARD_IPV4' => 'false', 'GATEWAY' => '192.168.124.1', 'NETWORKING' => 'yes' }, 'resolv' => { 'DOMAINNAME' => 'nameserver', 'DOMAINNAME2' => '192.168.124.1', 'DOMAINNAME3' => undef, 'dnsServer' => '192.168.124.1', 'dnsServer2' => undef, 'dnsServer3' => undef }, 'type' => 'ethernet', 'wireless' => {}, 'zeroconf' => {} }, 'nomouseprobe' => undef, 'no_recommends' => 1, 'partitioning' => { 'auto_allocate' => 1, 'clearall' => 1, 'eraseBadPartitions' => 0, 'fdisk' => undef, 'no_bad_drives' => undef, 'nodmraid' => undef }, 'partitions' => [ { 'fs_type' => 'swap', 'mntpoint' => 'swap', 'options' => 'defaults', 'size' => 70 << 11, }, { 'fs_type' => 'vfat', 'mntpoint' => '/boot/EFI', 'options' => 'umask=0,iocharset=utf8', 'size' => 100 << 11 }, { 'fs_type' => 'ext4', 'mntpoint' => '/', 'options' => 'relatime,acl', 'ratio' => 99 }, ], 'security' => 1, 'security_user' => undef, 'superuser' => { 'gid' => '0', 'home' => '/root', 'pw' => '$2a$08$zMo2uYOaYWm4SeCw1XZCp.V.w1wSbWuGxFdwE4qaci0zbm2lUiOzu', 'realname' => 'root', 'shell' => '/bin/bash', 'uid' => '0' }, 'timezone' => { 'UTC' => 0, 'ntp' => undef, 'timezone' => 'America/New_York' }, # default user: 'e' 'users' => [ { 'gid' => undef, 'groups' => [], 'icon' => 'default', 'name' => 'e', 'realname' => 'e', 'shell' => '/bin/bash', 'uid' => undef } ], # No FW: 'services' => [ 'acpid', 'network', 'network-up', 'resolvconf', 'sshd', # for remote debugging 'systemd-networkd', 'systemd-resolved' ], };
View Attachment As Raw
Actions:
View
Attachments on
bug 18780
:
8084
|
8195
|
8196
|
8197
| 8198 |
8207
|
8213