oem-config should also set the host name
Bug #303545 reported by
defishguy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Baltix |
Incomplete
|
Undecided
|
Unassigned | ||
ubiquity (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: oem-config
I administrate a lab of Ubuntu machines that were cloned using clonezilla (or whatever I happen to be using). I use oem-config to prepare them for distribution. Each machine will be joined to an MS Domain using the LikewiseOpen AD client. It would be exceedingly helpful if, after oem-config has been run to be asked for a new host name for the machine after it has been cloned.
Thanks for taking the time to hear my request.
affects: | oem-config (Ubuntu) → ubiquity (Ubuntu) |
tags: | added: oem-config |
To post a comment you must log in.
This is not as good an idea as it seems, because changing the host
name (without breaking your system) is not a simple matter.
There are a number of programs that hard-code the host name. A partial list:
apache
postfix
procmail
dwww
ssh # keys would need regenerating, too
motd
host
The nature of oem-config is that the OEM customizes the installation.
That means there is not a way to know ex ante what software is
installed and consequently not a way to know what to change or how.
Further, LVM maps logical volume device names based on the hostname,
and it's not a trivial matter to change the names if you don't know
how the system is partitioned.
If the OEM wants to allow the customer to change the hostname, the OEM
should write a custom script to do that.
FWIW, we at IYCC set the hostname during the initial installation.
I've never had a customer who particularly cared what the hostname
was.
It WOULD make sense for the various programs NOT to hardcode the
hostname but instead use a system variable.
Happy Trails,
Loye Young www.iycc. net
Isaac & Young Computer Company
Laredo, Texas
http://
--