1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

patch for cloning rbd images

This commit is contained in:
Ing. Jan KRCMAR 2018-09-04 15:40:47 +02:00
parent 3b4a1089c3
commit 6486c20168
2 changed files with 28 additions and 1 deletions

View file

@ -1279,6 +1279,8 @@
image = new_vname + "-" + disk_minus_suffix;
} else if (disk_name.lastIndexOf('.') > -1 && disk_dot_suffix.length <= 7) {
image = new_vname + "." + disk_dot_suffix
} else if (new_vname != disk_name) {
image = new_vname
} else {
image = new_vname + '-clone';
}