Revision 2a3bbbaa lib/hypervisor/hv_kvm.py

b/lib/hypervisor/hv_kvm.py
1000 1000
    @type tap: str
1001 1001

  
1002 1002
    """
1003
    if instance.tags:
1004
      tags = " ".join(instance.tags)
1005
    else:
1006
      tags = ""
1007

  
1008 1003
    env = {
1009 1004
      "PATH": "%s:/sbin:/usr/sbin" % os.environ["PATH"],
1010 1005
      "INSTANCE": instance.name,
......
1012 1007
      "MODE": nic.nicparams[constants.NIC_MODE],
1013 1008
      "INTERFACE": tap,
1014 1009
      "INTERFACE_INDEX": str(seq),
1015
      "TAGS": tags,
1010
      "TAGS": " ".join(instance.GetTags()),
1016 1011
    }
1017 1012

  
1018 1013
    if nic.ip:

Also available in: Unified diff