Révision 225a9156
add proxmox comment
| plugins/libvirt/kvm_net | ||
|---|---|---|
| 99 | 99 |
suffix = os.getenv("vmsuffix")
|
| 100 | 100 |
if suffix: |
| 101 | 101 |
vm_name = re.sub(suffix, "", vm_name) |
| 102 |
# proxmox uses kvm with -name parameter |
|
| 102 | 103 |
parts = vm_name.split('\x00')
|
| 103 | 104 |
if (parts[0].endswith('kvm')):
|
| 104 | 105 |
try: |
Formats disponibles : Unified diff