Revision 7d4ae909 lib/hypervisor/hv_kvm.py

b/lib/hypervisor/hv_kvm.py
991 991
    @type tap: str
992 992

  
993 993
    """
994
    if instance.tags:
995
      tags = " ".join(instance.tags)
996
    else:
997
      tags = ""
998

  
999 994
    env = {
1000 995
      "PATH": "%s:/sbin:/usr/sbin" % os.environ["PATH"],
1001 996
      "INSTANCE": instance.name,
......
1003 998
      "MODE": nic.nicparams[constants.NIC_MODE],
1004 999
      "INTERFACE": tap,
1005 1000
      "INTERFACE_INDEX": str(seq),
1006
      "TAGS": tags,
1001
      "TAGS": " ".join(instance.GetTags()),
1007 1002
    }
1008 1003

  
1009 1004
    if nic.ip:

Also available in: Unified diff