Hi all,
        If someone has a second for a quick webrev; I'm targeting build 
132 by tomorrow. I believe I have an easy fix for a pretty rough user 
experience for anyone installing AI on a fresh system.

                                                        Thank you,
                                                        Clay

Code review:
http://cr.opensolaris.org/~clayb/10888/

Bug:
http://defect.opensolaris.org/bz/show_bug.cgi?id=10888

Test Output:

[New Error]
root at jumprope:/usr/lib/installadm# installadm create-service -n 
install_test_ai_x86 -s /net/indiana-build/export/ai_x86_image/latest.iso 
/var/ai/install_test_ai_x86
Warning: NWAM is enabled.  Please be sure that the IP address for jumprope is 
static.
Service svc:/network/dns/multicast:default is disabled.
Please enable the service via: svcadm enable svc:/network/dns/multicast:default.
Automated Installations will not work with the current server network setup.
Please check server network settings and try again.

[Fix Problem]
root at jumprope:/usr/lib/installadm# svcadm enable 
svc:/network/dns/multicast:default

[Traditional Errors Still Work]
root at jumprope:/usr/lib/installadm# installadm create-service -n 
install_test_ai_x86 -s /net/indiana-build/export/ai_x86_image/latest.iso 
/var/ai/install_test_ai_x86
Warning: NWAM is enabled.  Please be sure that the IP address for jumprope is 
static.
Target directory is not empty.

[Fix Traditional Problem]
root at jumprope:/usr/lib/installadm# rm -rf /var/ai/install_test_ai_x86/

[All Works]
root at jumprope:/usr/lib/installadm# installadm create-service -n 
install_test_ai_x86 -s /net/indiana-build/export/ai_x86_image/latest.iso 
/var/ai/install_test_ai_x86
Warning: NWAM is enabled.  Please be sure that the IP address for 
jumprope is static.
Setting up the target image at /var/ai/install_test_ai_x86 ...
Registering the service install_test_ai_x86._OSInstall._tcp.local

Detected that DHCP is not set up on this server.
If not already configured, please create a DHCP macro
named dhcp_macro_install_test_ai_x86 with:
    Boot server IP (BootSrvA) : 172.20.24.78
    Boot file      (BootFile) : install_test_ai_x86
    GRUB Menu      (GrubMenu) : menu.lst.install_test_ai_x86
If you are running Sun's DHCP server, use the following
command to add the DHCP macro, dhcp_macro_install_test_ai_x86:
    /usr/sbin/dhtadm -g -A -m dhcp_macro_install_test_ai_x86 -d 
:BootSrvA=172.20.24.78:BootFile=install_test_ai_x86:GrubMenu=menu.lst.install_test_ai_x86:

Additionally, if the site specific symbol GrubMenu
is not present, please add it as follows:
    /usr/sbin/dhtadm -g -A -s GrubMenu -d Site,150,ASCII,1,0

Note: Be sure to assign client IP address(es) if needed
(e.g., if running Sun's DHCP server, run pntadm(1M)).
Service discovery fallback mechanism set up

Reply via email to