Secure Global Desktop Administration Guide > Commands > The tarantella object new_host command
tarantella object new_host { --name obj --address address [ --description text ] [ --ntdomain dom ] [ --available true|false ] [ --auth trytta|nevertrytta|default ] [ --location location ] [ --hostlocale ll_tt ] } | --file file
Creates one or more host objects.
To batch-create multiple
objects, use the --file
option. Use the other options
to create a single object.
tarantella object new_host \ --name ".../_ens/o=Indigo Insurance/ou=Finance/cn=paris" \ --address paris.indigo-insurance.com \ --auth default \ --location Europe-north
Creates a new host object with common name paris
,
belonging to the organizational unit object Finance
(which must already exist).
tarantella object new_host --file - <<EOF --name ".../_ens/o=Indigo Insurance/ou=Finance/cn=paris" \ --address paris.indigo-insurance.com --name ".../_ens/o=Indigo Insurance/cn=brussels" \ --address brussels.indigo-insurance.com --name ".../_ens/o=Indigo Insurance/ou=IT/cn=london" \ --address london.indigo-insurance.com EOF
Creates three host objects using a batch script defined as a
"here-document". You could alternatively store the batch script in a
file, and reference it using --file filename
.
Copyright © 1997-2006 Sun Microsystems, Inc. All rights reserved.