Hallo,
Hi,
ich bin ein gutes Stück weitergekommen und habe jetzt folgenden Status:
Installation läuft nicht interaktiv (mit der Ausnahme von 2 Abfragen zur Tastaur
aber das bekomme ich noch hin) bis zum ersten Reboot durch.
Dabei wird auch der opsi-client-agent schon korrekt installiert.
Nach dem ersten Reboot startet die inertaktive ‘UCS-Einrichtung’
(ich vermute das ist der Prozess ‘/usr/share/univention-system-setup/startxwithfirefox’).
Hier wird dann nach Namen,Domain,Rolle, Passwort, mail-adresse gefragt.
Dinge die (bis auf die mail adresse) schon jetzt in der preseed stehen.
An dem Aufbau des Repostories im opsi Server arbeite ich noch und benutze daher noch
ein UCS als Repository.
Meine Frage:
Wie bekomme ich die ‘UCS-Einrichtung’ nicht interaktiv ?
Die Einstellung ‘d-i ucr/system/setup/boot/start string’ true oder false scheint hier egal zu sein.
An welcher Stelle gibt es ein Log dazu ?
Hier ist meine aktuelle preseed:
[code]# from http://docs.software-univention.de/installation.html#profile:intro
This file overwrites /proc/cmdline overwrites preseed.cfg in the InitRamFs!
The following options are set through the PXE configuration
Delay asking for locale and keyboard layout after pre-seeding via network
#d-i auto-install/enable boolean true
Only ask for critical questions
#d-i debconf/priority select critical
Disable graphical installer
#d-i debian-installer/framebuffer boolean false
Select German as default locale and for keyboard layout
#d-i debian-installer/locale string de_DE.UTF-8
d-i debian-installer/locale string de_DE.UTF-8
#d-i keyboard-configuration/xkb-keymap select de(nodeadkeys)
d-i keyboard-configuration/xkb-keymap de
d-i keyboard-configuration/modelcode string pc105
d-i ucr/xorg/keyboard/options/XkbModel string pc105
d-i keyboard-configuration/layoutcode string de
d-i ucr/xorg/keyboard/options/XkbLayout string de
d-i keyboard-configuration/variantcode string nodeadkeys
d-i ucr/xorg/keyboard/options/XkbVariant string nodeadkeys
#d-i keyboard-configuration/optionscode string
d-i ucr/xorg/keyboard/options/XkbOptions string
#d-i debian-installer/keymap select de-latin1-nodeadkeys
##https://wiki.debianforum.de/Debian-Installation_über_PXE,_TFTP_und_Preseed
Locale / Keymap
##d-i debian-installer/locale string de_DE.UTF-8
d-i debian-installer/language string de
##d-i debian-installer/keymap select de-latin1-nodeadkeys
d-i debian-installer/country string DE
##d-i console-keymaps-at/keymap select de-latin1-nodeadkeys
##d-i languagechooser/language-name-fb select German
##d-i countrychooser/country-name select Germany
##d-i console-setup/layoutcode string de_DE
##d-i console-tools/archs select de-latin1-nodeadkeys
d-i keyboard-configuration/toggle select No toggling
##d-i keyboard-configuration/layoutcode string de-latin1-nodeadkeys
#d-i keyboard-configuration/layoutcode string de-latin1-nodeadkeys
d-i keyboard-configuration/xkb-keymap de
##d-i console-keymaps-at/keymap select de-latin1-nodeadkeys
##d-i console-setup/layoutcode string de_DE
##d-i keyboard-configuration/variantcode string de-latin1-nodeadkeys
##d-i keyboard-configuration console-setup/ask_detect boolean false
##d-i keyboard-configuration console-setup/detected note
##d-i keyboard-configuration keyboard-configuration/model select Generic 105-key (Intl) PC
Configure local repository server
d-i debian-installer/allow_unauthenticated boolean true
d-i mirror/country string manual
d-i mirror/protocol select http
d-i mirror/http/proxy string
The host name of the repository server is filled through the PXE configuration generated by UDM
d-i mirror/http/hostname string detlefvm06
d-i mirror/http/directory string /univention-repository/4.0/maintained/4.0-3/
d-i mirror/codename string ucs403
d-i mirror/suite string ucs403
d-i mirror/udeb/suite string ucs403
d-i debian-installer/allow_unauthenticated boolean true
Base system installation
Configure APT to not install recommended packages by default. Use of this
option can result in an incomplete system and should only be used by very
experienced users.
#d-i base-installer/install-recommends boolean false
Disable password for user ‘root’
d-i passwd/root-login boolean true
Alternative: printf “secret” | mkpasswd -s -m sha-512
d-i passwd/root-password-crypted string $6$i2Gm851cch6jcT7a$Iiy1HrcwQSBoexKuREmNmMlUxfSW1BQsWol13VLXEiitNZIhm7cfHGGHtrN5oGJfJuiP2p13RxQGBmYekWLzf1
Partition hard disk: Use “lvm” and one big “/” partition
Choices: lvm crypto regular
#d-i partman-auto/method string lvm
Choices: atomic home multi
#d-i partman-auto/choose_recipe string atomic
#d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/device_remove_md boolean true
#d-i partman-lvm/confirm boolean true
#d-i partman-lvm/confirm_nooverwrite boolean true
#d-i partman-partitioning/confirm_write_new_label boolean true
#d-i partman/choose_partition select finish
#d-i partman/confirm boolean true
#d-i partman/confirm_nooverwrite boolean true
To create a normal user account.
d-i passwd/user-fullname string User
d-i passwd/username string user
Normal user’s password, either in clear text
#d-i passwd/user-password password #@myuserpassword*#
#d-i passwd/user-password-again password #@myuserpassword*#
or encrypted using an MD5 hash.
d-i passwd/user-password-crypted password $6$Nd6+Xps6GkJrfjk0$SOg8Bw4nXpBWDBYfOyA3AVL6DQgt7FslEsdO9SoryyQ381J0tr9/UrEHeeff6JRSac/zjnKIUgZTjwvYLZabR0
Create the first user with the specified UID instead of the default.
#d-i passwd/user-uid string 1010
Clock and time zone setup
Controls whether or not the hardware clock is set to UTC.
d-i clock-setup/utc boolean true
You may set this to any valid setting for $TZ; see the contents of
/usr/share/zoneinfo/ for valid values.
d-i time/zone string Europe/Berlin
Controls whether to use NTP to set the clock during the install
d-i clock-setup/ntp boolean true
NTP server to use. The default is almost always fine here.
#d-i clock-setup/ntp-server string ntp.example.com
Partitioning
d-i partman/unmount_active boolean true
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string regular
d-i partman-auto/choose_recipe select atomic
d-i partman-crypto/passphrase string *** confidential ***
d-i partman-crypto/passphrase-again string *** confidential ***
d-i partman-md/device_remove_md boolean true
d-i partman-md/confirm boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i preseed/late_command string /sbin/opsipatchscript.sh ; /sbin/opsi-client-agent.sh
##################### UCS from DVD pressed ###########################
no live installer
d-i live-installer/enable boolean false
Use interfaces with link
d-i netcfg/choose_interface select auto
d-i netcfg/dhcp_timeout string 60
Use dummy hostname and domain
#d-i netcfg/get_hostname string unassigned-hostname
#d-i netcfg/get_domain string unassigned-domain
d-i netcfg/get_hostname string vmex10160
d-i netcfg/get_domain string uib.local
krb5-config krb5-config/default_realm string UNASSIGNED-REALM
krb5-config krb5-config/kerberos_servers string localhost
krb5-config krb5-config/admin_server string localhost
Don’t create a first user
d-i passwd/make-user boolean false
LVM
d-i partman-auto/init_automatically_partition select 60some_device_lvm
d-i partman-auto/init_automatically_partition seen false
d-i partman-auto-lvm/new_vg_name string vg_ucs
Pre-select the standard UCS kernel
d-i base-installer/kernel/image string linux-image-3.16.0-ucs135-amd64
d-i base-installer/includes string less
Only minimal install
d-i apt-setup/use_mirror boolean false
d-i apt-setup/no_mirror boolean true
d-i apt-setup/services-select multiselect none
tasksel tasksel/first multiselect none
d-i pkgsel/include string univention-system-setup-boot univention-management-console-web-server univention-management-console-module-setup univention-kernel-image openssh-server
postfix postfix/main_mailer_type string No configuration
openssh-server ssh/disable_cr_auth boolean false
d-i pkgsel/upgrade select none
popularity-contest popularity-contest/participate boolean false
Install GRUB in MBR by default on new systems
d-i grub-installer/only_debian boolean true
grub-pc grub-pc/install_devices multiselect
grub-pc grub-pc/install_devices_empty boolean true
After installation
d-i finish-install/reboot_in_progress note
#d-i cdrom-detect/eject boolean true
Chain-load other preseed file for additional customization
#d-i preseed/include string custom.cfg
##################### UCS ###########################
Disable starting “Univention System Setup Boot”
d-i ucr/system/setup/boot/start string false
#d-i ucr/system/setup/boot/start string true
Univention System Setup profile
univention-system-setup-boot uss/root_password string $6$i2Gm851cch6jcT7a$Iiy1HrcwQSBoexKuREmNmMlUxfSW1BQsWol13VLXEiitNZIhm7cfHGGHtrN5oGJfJuiP2p13RxQGBmYekWLzf1
d-i uss/root_password string $6$i2Gm851cch6jcT7a$Iiy1HrcwQSBoexKuREmNmMlUxfSW1BQsWol13VLXEiitNZIhm7cfHGGHtrN5oGJfJuiP2p13RxQGBmYekWLzf1
univention-system-setup-boot uss/components string
univention-system-setup-boot uss/packages_install string
univention-system-setup-boot uss/packages_remove string
Choices: domaincontroller_master domaincontroller_backup domaincontroller_slave memberserver base
univention-system-setup-boot uss/server/role string domaincontroller_master
univention-system-setup-boot uss/ldap/base string dc=uib,dc=local
d-i uss/server/role string domaincontroller_master
d-i uss/ldap/base string dc=uib,dc=local [/code]
Vielen Dank im Voraus und saisonale Grüße
d.oertel