usr/src/cmd/auto-install/svc/manifest-locator
changeset 1015 887661717eb2
parent 926 3e271c0efc4d
child 1075 df96871c232d
equal deleted inserted replaced
1014:fdbee57477e0 1015:887661717eb2
    18 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 # information: Portions Copyright [yyyy] [name of copyright owner]
    19 #
    19 #
    20 # CDDL HEADER END
    20 # CDDL HEADER END
    21 #
    21 #
    22 #
    22 #
    23 # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 
    25 
    26 # Use tee(1) when posting messages to both console and log file
    26 # Use tee(1) when posting messages to both console and log file
    27 TEE_LOGTOCONSOLE="/usr/bin/tee /dev/msglog"
    27 TEE_LOGTOCONSOLE="/usr/bin/tee /dev/msglog"
    28 # Architecture
    28 # Architecture
   156 			    "provided, service discovery failed" | \
   156 			    "provided, service discovery failed" | \
   157 			    $TEE_LOGTOCONSOLE
   157 			    $TEE_LOGTOCONSOLE
   158 			return 1
   158 			return 1
   159 		fi
   159 		fi
   160 
   160 
   161 		print "Service located at $AI_SERVICE_ADDRESS will be used" | \
   161 		print "Service $AI_SERVICE_NAME located at $AI_SERVICE_ADDRESS" \
   162 		    $TEE_LOGTOCONSOLE
   162 			"will be used" | $TEE_LOGTOCONSOLE
   163 		print "$AI_SERVICE_ADDRESS" > $AI_SERVICE_LIST
   163 		print "$AI_SERVICE_ADDRESS:$AI_SERVICE_NAME" > $AI_SERVICE_LIST
   164 	fi
   164 	fi
   165 
   165 
   166 	print "Service discovery finished successfully" | $TEE_LOGTOCONSOLE
   166 	print "Service discovery finished successfully" | $TEE_LOGTOCONSOLE
   167 
   167 
   168 	#
   168 	#