mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-06-07 04:49:37 +00:00
wvmStorage.create_volume, wvmCreate.create_volume image naming respects image/volume format (qcow,qcow2)
This commit is contained in:
committed by
catborise
parent
1bd2c558f2
commit
a457c262e1
@@ -476,7 +476,11 @@ def instance(request, compute_id, vname):
|
||||
|
||||
path = connCreate.create_volume(storage, name, size, format, meta_prealloc, default_owner)
|
||||
conn.attach_disk(path, target, subdriver=format, cache=cache, targetbus=bus)
|
||||
<<<<<<< HEAD
|
||||
msg = _('Attach new disk: ' + target)
|
||||
=======
|
||||
msg = _('Attach new disk {} ({})'.format(name, format))
|
||||
>>>>>>> 13ce824... wvmStorage.create_volume, wvmCreate.create_volume image naming respects image/volume format (qcow,qcow2)
|
||||
addlogmsg(request.user.username, instance.name, msg)
|
||||
return HttpResponseRedirect(request.get_full_path() + '#disks')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user