Bug 29469 - [Profilbasierte Installation] Profilvariable "scan" setzt hostname nicht richtig
[Profilbasierte Installation] Profilvariable "scan" setzt hostname nicht richtig
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UCS Installer
UCS 3.1
Other Linux
: P5 normal (vote)
: UCS 3.2
Assigned To: Felix Botner
Stefan Gohmann
: interim-1
Depends on:
Blocks: 32442
  Show dependency treegraph
 
Reported: 2012-11-29 16:49 CET by Lukas Walter
Modified: 2013-11-19 06:41 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Walter univentionstaff 2012-11-29 16:49:19 CET
Laut Sönke sollte bei der profilbasierten Installation, sofern scan="hostname" im Profil gesetzt ist, der Hostname des Systems auf Basis eines Reverse Zonen Eintrags für die per DHCP bezogene IP des installierenden Systems gesetzt werden.

In meinen Tests wurde hier aber stets nur "unknown" in der Seite für den Installationsprogress angezeigt. "unknown.subdom.dom" - auf dem installierten System gibt es dann keinen Hostnamen.

=======================================
      vvvv
root@(none):~# ucr search hostname
hostname: <empty> <----------
 Name of the computer
========================================
Comment 1 Felix Botner univentionstaff 2013-07-03 10:11:20 CEST
Der hostname wird nun (falls scan="hostname" gesetzt ist) in  univention-installer-network-startup (ausgeführt durch modules/70_net.py) per host ermittelt und nach /tmp/installation_profile_scanned geschrieben. Diese Datei wird dann nach /tmp/installation_profile in allen Installations-Skripten und in progress.py ausgewertet.

progress.py -> der ermittelte Rechnername wird während der Installation angezeigt

scripts/10_debootstrap.sh -> der ermittelte Rechnername wird für das System gesetzt

scripts/28_postconfigure_config_registry.sh -> der ermittelte Rechnername wird für das zu installierende System gesetzt
Comment 2 Stefan Gohmann univentionstaff 2013-08-16 07:03:03 CEST
Tests: OK, considered Bug #32228

Changelog: OK
Comment 3 Stefan Gohmann univentionstaff 2013-11-19 06:41:22 CET
UCS 3.2 has been released:
 http://docs.univention.de/release-notes-3.2-en.html
 http://docs.univention.de/release-notes-3.2-de.html

If this error occurs again, please use "Clone This Bug".