Revision 950e32ec

b/doc/hooks.rst
286 286
INSTANCE_OS_TYPE, INSTANCE_DISK_TEMPLATE, INSTANCE_MEMORY,
287 287
INSTANCE_DISK_SIZES, INSTANCE_VCPUS, INSTANCE_NIC_COUNT,
288 288
INSTANCE_NICn_IP, INSTANCE_NICn_BRIDGE, INSTANCE_NICn_MAC,
289
INSTANCE_NICn_NETWORK_SUBNET, INSTANCE_NICn_NETWORK_GATEWAY,
290
INSTANCE_NICn_NETWORK_SUBNET6, INSTANCE_NICn_NETWORK_GATEWAY6,
291
INSTANCE_NICn_NETWORK_MAC_PREFIX, INSTANCE_NICn_NETWORK_TYPE,
289 292
INSTANCE_DISK_COUNT, INSTANCE_DISKn_SIZE, INSTANCE_DISKn_MODE.
290 293

  
291 294
The INSTANCE_NICn_* and INSTANCE_DISKn_* variables represent the
292 295
properties of the *n* -th NIC and disk, and are zero-indexed.
293 296

  
297
The INSTANCE_NICn_NETWORK_* variables are only passed if a NIC's network
298
parameter is set (that is if the NIC is associated to a network defined
299
via ``gnt-network``)
300

  
294 301

  
295 302
OP_INSTANCE_CREATE
296 303
++++++++++++++++++
......
383 390

  
384 391
:directory: instance-migrate
385 392
:env. vars: MIGRATE_LIVE, MIGRATE_CLEANUP, OLD_PRIMARY, OLD_SECONDARY, NEW_PRIMARY, NEW_SECONDARY
386
:pre-execution: master node, secondary node
393
:pre-execution: master node, primary and secondary nodes
387 394
:post-execution: master node, primary and secondary nodes
388 395

  
389 396

  

Also available in: Unified diff