This is the v2 of patchset to fix/provide support to clone a guest
multiple times.
This patch:
- Creates a new function, moved from Wok to name clones;
- Use timestamp parameter of the function to avoid clone problems;
- Fixes backend imports;
- Adds UI.
Rodrigo Trujillo (3):
Add function 'get_next_clone_name'
Fix issue when clone a vm multiple times
Add UI support to clone a guest multiple times
mockmodel.py | 4 +--
model/storagevolumes.py | 4 +--
model/vms.py | 5 ++--
ui/js/src/kimchi.guest_main.js | 58 ++++++++++++++++++++++++++++++++----------
ui/pages/guest-clone.html.tmpl | 47 ++++++++++++++++++++++++++++++++++
ui/pages/i18n.json.tmpl | 3 ++-
utils.py | 50 ++++++++++++++++++++++++++++++++++++
7 files changed, 151 insertions(+), 20 deletions(-)
create mode 100644 ui/pages/guest-clone.html.tmpl
--
2.1.0