Commit 8bc5e2c8 authored by Thomas Thrainer's avatar Thomas Thrainer Committed by Guido Trotter
Browse files

Improve gnt-instance documentation

Explain the relationship of the ip and network parameter in
`gnt-instance add --net` better.
Signed-off-by: default avatarThomas Thrainer <>
Reviewed-by: default avatarGuido Trotter <>
parent decc7ec9
......@@ -31,7 +31,8 @@ ADD
| {\--disk=*N*: {size=*VAL* \| adopt=*LV*}[,vg=*VG*][,metavg=*VG*][,mode=*ro\|rw*]
| \| {size=*VAL*,provider=*PROVIDER*}[,param=*value*... ][,mode=*ro\|rw*]
| \| {-s|\--os-size} *SIZE*}
| [\--no-ip-check] [\--no-name-check] [\--no-start] [\--no-install]
| [\--no-ip-check] [\--no-name-check] [\--no-conflicts-check]
| [\--no-start] [\--no-install]
| [\--net=*N* [:options...] \| \--no-nics]
| [{-B|\--backend-parameters} *BEPARAMS*]
| [{-H|\--hypervisor-parameters} *HYPERVISOR* [: option=*value*... ]]
......@@ -113,7 +114,13 @@ mac
specifies the IP address assigned to the instance from the Ganeti
side (this is not necessarily what the instance will use, but what
the node expects the instance to use)
the node expects the instance to use). Note that if an IP in the
range of a network configured with **gnt-network**\(8) is used,
and the NIC is not already connected to it, this network has to be
passed in the **network** parameter if this NIC is meant to be
connected to the said network. ``--no-conflicts-check`` can be used
to override this check. The special value **pool** causes Ganeti to
select an IP from the the network the NIC is or will be connected to.
specifies the connection mode for this NIC: routed, bridged or
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment