Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
c3e856c5
Commit
c3e856c5
authored
Nov 26, 2013
by
Christos Stavrakakis
Browse files
cyclades: Include 'vlmc' and 'archipelago'
Fix image ID for both 'vlmc' and 'archipelago' ext providers.
parent
97fae162
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-cyclades-app/synnefo/logic/servers.py
View file @
c3e856c5
...
...
@@ -153,7 +153,7 @@ def create(userid, name, password, flavor, image, metadata={},
flavor
.
disk_template
=
disk_template
flavor
.
disk_provider
=
provider
flavor
.
disk_origin
=
None
if
provider
==
'vlmc'
:
if
provider
in
[
'vlmc'
,
'archipelago'
]
:
flavor
.
disk_origin
=
image
[
'checksum'
]
image
[
'backend_id'
]
=
'null'
else
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment