Revision 7e8f03e3 lib/cmdlib.py

b/lib/cmdlib.py
1512 1512
        # FIXME: broken network reference: the instance NIC specifies a
1513 1513
        # network, but the relevant network entry was not in the config. This
1514 1514
        # should be made impossible.
1515
        env["INSTANCE_NIC%d_NETWORK" % idx] = net
1515
        env["INSTANCE_NIC%d_NETWORK_NAME" % idx] = net
1516 1516
      if mode == constants.NIC_MODE_BRIDGED:
1517 1517
        env["INSTANCE_NIC%d_BRIDGE" % idx] = link
1518 1518
  else:

Also available in: Unified diff