When an install client boots, ./tmp_proto/root/etc/inet/hosts is copied into /tmp/root/etc/inet/hosts. sysidnet then runs and updates /tmp/root/etc/inet/hosts, so your customizations are likely getting overwritten.
sysndnet looks for the entry with "myhost" in it (without FQDN) and replaces it. That's why when you customized with "myhost.FQDN", it didn't get replaced or removed, but an additional "myhost" line was added. And when you customized with "myhost" (with myhost.FQDN as an alias), it still matched this entry and replaced it. sysidnet currently doesn't support FQDN, nor does it support supplying aliases. I think the best way to get what you want done is to leave the .tmp_proto/root/etc/hosts be and follow up with a finish script to add the alias after installation is complete. -ethan Mike Kuhnkey wrote: > Apparently I don't understand the relationship between localhost, loghost, > and FQDN entries. > When "hosts" file is copied from "/tmp" to "/a/etc/inet/hosts" the entry: > "xxx.xxx.xxx.xxx myhost.domain.com loghost" remain intact but; > "xxx.xxx.xxx.xxx myhost loghost is added to end of copied hosts file? > > When "hosts" file is copied from "/tmp" to "/a/etc/inet/hosts" the entry: > "xxx.xxx.xxx.xxx myhost loghost myhost.domain.com" is either being truncated > after loghost, or the entire line is being skipped and; > "xxx.xxx.xxx.xxx myhost loghost is being generated? > > In any case it appears the .tmp_proto on s0 has nothing to do with this? > > > This message posted from opensolaris.org > _______________________________________________ > install-discuss mailing list > install-discuss at opensolaris.org > http://opensolaris.org/mailman/listinfo/install-discuss >
