Hi,
Just out of curiosity..
When we create a service we specify the target dir. It's actually the
only mandatory field according to installadm (shouldn't '-s srcimage'
option be mandatory as well?)
usage: installadm <subcommand> <args> ...
create-service [-d] [-u] [-f <bootfile>] [-D <DHCPserver>]
[-n <svcname>] [-i <dhcp_ip_start>]
[-c <count_of_ipaddr>] [-s <srcimage>] <targetdir>
delete-service [-x] <svcname>
list [-n <svcname>]
start <svcname>
stop <svcname>
create-client [-P <protocol>]
[-b "<property>=<value>"]
-e <macaddr> -t <imagepath> -n <svcname>
delete-client <macaddr>
add -m <manifest> -n <svcname>
remove -m <manifest> -n <svcname>
set -p <name>=<value> -n <svcname>
version
help [<subcommand>]
# /usr/sbin/installadm/installadm create-service -n x86_install_service
-s /images/AI/osol-0811-rc2-ai.iso /server/images/osol-0811-rc2-ai
So at this point we have a service called x86_install_service that
points at /server/images/osol-0811-rc2-ai
Then shouldn't it be enough to specify the service name when we create a
new client? Given that a service can't have more than 1 targetdir
related to it, why do we need the option '-t imagepath'?
# installadm create-client -e 0:14:4f:4a:98:62 -n install_service -t
/server/images/osol-0811-rc2-ai/
Thanks,
David