From 4c0afeb1f77a2def714d2121d3763607259c8dc8 Mon Sep 17 00:00:00 2001 From: vanzhiganov Date: Thu, 19 May 2016 03:34:23 +0300 Subject: [PATCH] 39 QEMU virtual machines --- SWSCloudCore/views/vms/__init__.py | 3 +++ setup.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/SWSCloudCore/views/vms/__init__.py b/SWSCloudCore/views/vms/__init__.py index 6286f40..d24933c 100644 --- a/SWSCloudCore/views/vms/__init__.py +++ b/SWSCloudCore/views/vms/__init__.py @@ -120,7 +120,9 @@ def create(): 0, vm_id=new_vm['vm_id'], ipv4=new_vm['ipv4'], + ipv4_gateway=new_vm['ipv4_gateway'], ipv6=new_vm['ipv6'], + ipv6_gateway=new_vm['ipv6_gateway'], password=new_vm['password'], hostname=new_vm['hostname'], platform=new_vm['platform'], @@ -194,6 +196,7 @@ def delete(container_id): # if user not have a container then redirect to the container list if not containers.check_exists_item(container_id): return redirect(url_for('containers.index')) + # get container details container_details = ControllerContainers(session['user_id']).get_item(container_id) # POST diff --git a/setup.py b/setup.py index 1b29c17..832ec0c 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup setup( name='SWSCloudCore', - version='2.2.7', + version='2.2.8', author='Vyacheslav Anzhiganov', author_email='hello@anzhiganov.com', packages=[