Print this page
6774 - create-client should take imagepath as optional argument
@@ -86,11 +86,11 @@
"\tdisable\t[-t] <svcname>",
PRIV_REQD },
{ "create-client", do_create_client,
"\tcreate-client\t[-b <property>=<value>,...] \n"
- "\t\t\t-e <macaddr> -t <imagepath> -n <svcname>",
+ "\t\t\t-e <macaddr> -n <svcname> [-t <imagepath>]",
PRIV_REQD },
{ "delete-client", do_delete_client,
"\tdelete-client\t<macaddr>",
PRIV_REQD },
@@ -1226,11 +1226,11 @@
}
/*
* Make sure required options are there
*/
- if ((mac_addr == NULL) || (svcname == NULL) || (imagepath == NULL)) {
+ if ((mac_addr == NULL) || (svcname == NULL)) {
(void) fprintf(stderr, MSG_MISSING_OPTIONS, argv[0]);
(void) fprintf(stderr, "%s\n", gettext(use));
return (INSTALLADM_FAILURE);
}