This command modifies the specified attributes of an existing host. Omitted arguments preserve current values.
Table 7–15 Arguments and Result of the hdb.h.mod Command|
Argument/Result |
Syntax |
Description |
|
|---|---|---|---|
|
ID |
[R] |
HostID |
The host ID |
|
name |
[O] |
String |
The host name |
|
desc |
[O] |
String |
The host description |
|
tID |
[O] |
HostTypeID |
The ID of the host type |
|
attr |
[O] |
Hashtable |
The host attributes |
|
hide |
[O] |
Boolean |
Whether the host is hidden |
|
pID |
[O] |
HostID |
The ID of the parent host if virtual, or “<null>” if physical |
|
result |
Host |
The modified host |
|
Use the -attr argument to specify the attributes whose values you want to modify. Attributes not explicitly specified retain (or are reset to) their default values.