Univention Bugzilla – Bug 35537
Profile based d-i installation
Last modified: 2015-05-28 09:32:45 CEST
The installation DVD should support profile based installation. Big question: how to select the profile from - DVD itself - attached block devices (HDD, USB stick, floppy)
*** Bug 35745 has been marked as a duplicate of this bug. ***
Changes: 1) In the UDM modules computers/domaincontroller_* and computers/memberserver the property "Interactive installation" has been removed from the reinstallation group on the advanced settings tab. → Changelog entry has been made 2) The package univention-net-installer has been ported to UCS 4. The PXE configuration has been updated for the new UCS 4 installer. Please note that the support for UCS 3 installer has been removed. @Stefan: do we need support for UCS 3 and UCS 4 installers? Or is it sufficient that a UCS3 repo server is only able to install UCS 3 systems while a UCS 4 repo server is only able to install UCS 4 systems? Open problems: a) some packages for the netinstaller seem to be missing on the DVD. The netinstaller is currently able to install UCS4 with omar as repo server (http://192.168.0.10/build2/ucs_4.0-0/) successfully but fails with a DVD repo (http://10.200.18.36/univention-repository/4.0/maintained/4.0-0/). The installer is not able to detect the harddisk. b) the netinstaller has to be placed somewhere on the DVD so univention-repository-create is able to copy the netinstaller to the local repository, so the kernel/initrd may be delivered via PXE. c) during the latest test installation via PXE univention-system-setup-boot has been installed in gtk mode but it has not been started by the d-i. After automatic reboot USS came up automatically. It has to be checked what the reason is.
(In reply to Sönke Schwardt-Krummrich from comment #2) > 2) > The package univention-net-installer has been ported to UCS 4. > The PXE configuration has been updated for the new UCS 4 installer. Please > note that the support for UCS 3 installer has been removed. > > @Stefan: > do we need support for UCS 3 and UCS 4 installers? Or is it sufficient that > a UCS3 repo server is only able to install UCS 3 systems while a UCS 4 repo > server is only able to install UCS 4 systems? No, I think if you need a UCS 3 net installer, you can use a separate machine. In this case you should use a DC backup because it has a management GUI with the old options. Can you add a hint to the release notes?
r54974 | Bug #35537 DVD: Fix hook script directory Fix directory name /usr/share/univention-dvd/share/ Package: univention-dvd Version: 0.2.10-3.36.201410271723 Branch: ucs_4.0-0
r54977 | Bug #35537 DVD: Fix hook script directory /usr/share/univention-dvd/{start_disc -> disc_start}_hook.d/ Package: univention-dvd Version: 0.2.10-4.37.201410271738 Branch: ucs_4.0-0
Moved to the post UCS 4.0 phase.
univention-net-installer and univention-tftp are currently in unmaintained.
The already released svn r54938 introduced Bug #37560. You can probably mark it as duplicate when fixing this bug.
r60122 | Bug #35537 Up: Fix package build r60117 | Bug #35537 N-I: Fix UCS-4 support r60116 | Bug #35537 N-I: Fix UCS-4 support r60115 | Bug #35537 N-I: Documentation r60114 | Bug #35537 N-I: Add UCS-4 support r60113 | Bug #35537 N-I: Copyright 2015 r60112 | Bug #35537 Up: Fix generation of dists/Packages files Package: univention-net-installer Version: 8.0.1-1.25.201504231304 Branch: ucs_4.0-0 Scope: errata4.0-1 r60127 | Bug #38248,Bug #35537: Profile based installation YAML 2015-04-23-univention-updater.yaml 2015-04-23-univention-net-installer.yaml Documentation: <http://jenkins.knut.univention.de:8080/job/UCS-4.0/job/UCS-4.0-1/job/Handbook%20Extended/lastBuild/artifact/webroot/installation-4.0.html#profile:intro> Known issues: - join is not possible through profile - not supported by USS. - profile based installation is only supported through PXE - modifying the DVD, using a floppy or USB stick is no longer supported. - USS is run by cron@reboot - login via ssh is possible before the system is fully provisioned - Setting the password for root required modifying the TEMPLATE - otherwise not account exists for login.
*** Bug 34060 has been marked as a duplicate of this bug. ***
r60175 | Bug #35537 Net: Enable online repository Added missing "ucr set repository/online=yes" Package: univention-net-installer Version: 8.0.1-2.26.201504241501 Branch: ucs_4.0-0 Scope: errata4.0-1 r60177 | Bug #35537 New: Profile based installation YAML 2015-04-23-univention-net-installer.yaml
r60414 | Bug #35537 n-i: Fix test for profile installation Use preseed/url instead of mirror/http/hostname Package: univention-net-installer Version: 8.0.1-3.27.201505051412 Branch: ucs_4.0-0 Scope: errata4.0-1 Package: repo-ng Version: 2.0-153.1395.201505051432 Branch: ucs_3.2-0 Scope: internal
debian-installer-images_20130613.469.20150505142117_amd64.tar.gz ucs_4.0-1-20150505-142117-dvd-amd64.iso r60416 | Bug #35537 n-i: Fix test for profile installation YAML 2015-04-23-univention-net-installer.yaml (In reply to Philipp Hahn from comment #12) > Package: repo-ng > Version: 2.0-153.1395.201505051432 wrong bug
The net installation works basically. The cron reboot job /etc/cron.d/univention-net-installer is not ideal. For example I'm unable to see when it has been finished. It should also be mention in the documentation otherwise one reboots the system during the setup-join. I don't see the output of setup-join here: /var/log/univention/setup.log. Can you redirect the output? Please also set the python version to 2.7 in univention-net-installer-daemon. I've tried to install univention-samba via preseed but it didn't work: univention-system-setup-boot uss/packages_install univention-samba
(In reply to Stefan Gohmann from comment #14) > The net installation works basically. The cron reboot job > /etc/cron.d/univention-net-installer is not ideal. For example I'm unable to > see when it has been finished. It should also be mention in the > documentation otherwise one reboots the system during the setup-join. r60435 | Bug #35537 PXE: d-i postinst Moved to di-univention-net-installer.postinst > I don't see the output of setup-join here: /var/log/univention/setup.log. > Can you redirect the output? r60436 | Bug #35537 PXE: Redirect setup-join.log > Please also set the python version to 2.7 in univention-net-installer-daemon. r60434 | Bug #35537 PXE: Update to python2.7 > I've tried to install univention-samba via preseed but it didn't work: > univention-system-setup-boot uss/packages_install univention-samba Works for me - missing "string"? univention-system-setup-boot uss/packages_install string univention-samba Package: univention-net-installer Version: 8.0.1-5.29.201505052301 Branch: ucs_4.0-0 Scope: errata4.0-1 r60437 | Bug #35537 PXE: Redirect setup-join.log YAML 2015-04-23-univention-net-installer.yaml
(In reply to Philipp Hahn from comment #15) > (In reply to Stefan Gohmann from comment #14) > > The net installation works basically. The cron reboot job > > /etc/cron.d/univention-net-installer is not ideal. For example I'm unable to > > see when it has been finished. It should also be mention in the > > documentation otherwise one reboots the system during the setup-join. > > r60435 | Bug #35537 PXE: d-i postinst > Moved to di-univention-net-installer.postinst Yes, looks good now. > > I don't see the output of setup-join here: /var/log/univention/setup.log. > > Can you redirect the output? > > r60436 | Bug #35537 PXE: Redirect setup-join.log > > > Please also set the python version to 2.7 in univention-net-installer-daemon. > > r60434 | Bug #35537 PXE: Update to python2.7 OK, it works now. > > I've tried to install univention-samba via preseed but it didn't work: > > univention-system-setup-boot uss/packages_install univention-samba > > Works for me - missing "string"? > univention-system-setup-boot uss/packages_install string univention-samba Yes, my fault. > Package: univention-net-installer > Version: 8.0.1-5.29.201505052301 > Branch: ucs_4.0-0 > Scope: errata4.0-1 > > r60437 | Bug #35537 PXE: Redirect setup-join.log YAML > 2015-04-23-univention-net-installer.yaml OK
r60472 | Bug #35537 N-I: Documentation Fixes by QA <http://jenkins.knut.univention.de:8080/job/UCS-4.0/job/UCS-4.0-1/job/Handbook%20Extended/ws/webroot/installation-4.0.html#profile:intro>
<http://errata.univention.de/ucs/4.0/185.html> <http://errata.univention.de/ucs/4.0/186.html>
Documentation published: r60891