39 QEMU virtual machines

This commit is contained in:
Vyacheslav Anzhiganov 2016-05-19 03:34:23 +03:00
parent 93ccb6f7c2
commit 4c0afeb1f7
2 changed files with 4 additions and 1 deletions

View file

@ -120,7 +120,9 @@ def create():
0, 0,
vm_id=new_vm['vm_id'], vm_id=new_vm['vm_id'],
ipv4=new_vm['ipv4'], ipv4=new_vm['ipv4'],
ipv4_gateway=new_vm['ipv4_gateway'],
ipv6=new_vm['ipv6'], ipv6=new_vm['ipv6'],
ipv6_gateway=new_vm['ipv6_gateway'],
password=new_vm['password'], password=new_vm['password'],
hostname=new_vm['hostname'], hostname=new_vm['hostname'],
platform=new_vm['platform'], 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 user not have a container then redirect to the container list
if not containers.check_exists_item(container_id): if not containers.check_exists_item(container_id):
return redirect(url_for('containers.index')) return redirect(url_for('containers.index'))
# get container details # get container details
container_details = ControllerContainers(session['user_id']).get_item(container_id) container_details = ControllerContainers(session['user_id']).get_item(container_id)
# POST # POST

View file

@ -4,7 +4,7 @@ from setuptools import setup
setup( setup(
name='SWSCloudCore', name='SWSCloudCore',
version='2.2.7', version='2.2.8',
author='Vyacheslav Anzhiganov', author='Vyacheslav Anzhiganov',
author_email='hello@anzhiganov.com', author_email='hello@anzhiganov.com',
packages=[ packages=[