mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 09:50:37 +00:00
Check for EBS backing the proper way
This commit is contained in:
parent
c7625f85d8
commit
4d10f94926
1 changed files with 2 additions and 2 deletions
|
@ -8,5 +8,5 @@ def tasks(tasklist, manifest):
|
|||
from tasks import ebs
|
||||
tasklist.add(packages.HostPackages(), packages.ImagePackages(), host.CheckPackages(),
|
||||
connection.GetCredentials(), host.GetInfo(), connection.Connect())
|
||||
if manifest.volume['backing'] is 'ebs':
|
||||
tasklist.add(ebs.CreateVolume())
|
||||
if manifest.volume['backing'].lower() == 'ebs':
|
||||
tasklist.add(ebs.CreateVolume(), ebs.AttachVolume())
|
||||
|
|
Loading…
Add table
Reference in a new issue