Revision 87e510fd lib/hypervisor/hv_kvm.py
b/lib/hypervisor/hv_kvm.py | ||
---|---|---|
287 | 287 |
if nic.nicparams[constants.NIC_MODE] == constants.NIC_MODE_BRIDGED: |
288 | 288 |
script.write("export BRIDGE=%s\n" % nic.nicparams[constants.NIC_LINK]) |
289 | 289 |
script.write("export INTERFACE=$1\n") |
290 |
script.write("export TAGS=\"%s\"\n" % " ".join(instance.tags)) |
|
290 | 291 |
# TODO: make this configurable at ./configure time |
291 | 292 |
script.write("if [ -x '%s' ]; then\n" % self._KVM_NETWORK_SCRIPT) |
292 | 293 |
script.write(" # Execute the user-specific vif file\n") |
Also available in: Unified diff