This command modifies the specified attributes of an existing host. Omitted arguments are overwritten.
Table 7–15 Arguments and Result of the hdb.h.mod Command
Argument/Result |
Syntax |
Description |
|
---|---|---|---|
ID |
Required |
HostID |
The host ID |
name |
Optional |
String |
The host name |
desc |
Optional |
String |
The host description |
tID |
Optional |
HostTypeID |
The ID of the host type |
attr |
Optional |
Hashtable |
The host attributes |
hide |
Optional |
Boolean |
Whether the host is hidden |
pID |
Optional |
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.