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=[