Skip past navigation linksSecure Global Desktop Administration Guide > Commands > The tarantella object new_host command

The tarantella object new_host command

Syntax

Skip past command syntax or program codetarantella 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

Description

Creates one or more host objects.

To batch-create multiple objects, use the --file option. Use the other options to create a single object.

Examples

Skip past command syntax or program codetarantella 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).

Skip past command syntax or program codetarantella 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.

Related topics