Sun Microsystems, Inc.
   www.sun.com docs.sun.com | | |  
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
System Administrationdeletetag(1m)


NAME

 deletetag - remove the domain tag name associated with the domain

SYNOPSIS

 deletetag -d domain_id|domain_tag [-q] [-y|-n]
 deletetag -h

DESCRIPTION

 

deletetag(1M) removes the domain tag associated with the domain.

OPTIONS

 

The following options are supported.

-d domain_id
ID of a domain. Valid domain_ids are 'A'...'R' and are case insensitive.
-d domain_tag
Name assigned to a domain using addtag(1M).
-h
Help. Displays usage descriptions. Note – Use alone. Any option specified in addition to -h is ignored.
-n
Automatically answers "no" to all prompts. Prompts are displayed unless used with the -q option.
-q
Quiet. Suppresses all messages to stdout including prompts.

When used alone, -q defaults to the -n option for all prompts.

When used with either the -y or the -n option, -q suppresses all user prompts and automatically answers with either 'y' or 'n' based on the option chosen.

-y
Automatically answers "yes" to all prompts. Prompts are displayed unless used with the -q option.

EXTENDED DESCRIPTION

 

Group Privileges Required

 

You must have platform administrator privileges to run this command.

Refer to Chapter 2 in the System Management Services (SMS) 1.2 Administrator Guide for the Sun Fire 15K/12K Systems for more information.

EXAMPLES

 Example 1. Deleting Tag "eng2" From the Domain to Which it was Assigned
 
 
sc0:sms-user:> deletetag -d eng2 -qy

You will not be prompted.

EXIT STATUS

 

The following exit values are returned:

0
Successful completion
>0
An error occurred.

If the domain_id does not have a tag, no error is returned. deletetag(1M) is treated as successful.

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

Attribute TypesAttribute Values
AvailabilitySUNWSMSop

SEE ALSO

 

addtag(1m)


SMS 1.2Go To TopLast Changed 22 April 2002

 
      
      
Copyright 2002 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 USA. All rights reserved.