mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 15:36:27 +00:00
ec2: Silence boto before determining the AMI name
This commit is contained in:
parent
306c87d535
commit
da50ed7978
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ from bootstrapvz.common.exceptions import TaskError
|
||||||
from bootstrapvz.common.tools import log_check_call
|
from bootstrapvz.common.tools import log_check_call
|
||||||
from ebs import Snapshot
|
from ebs import Snapshot
|
||||||
from bootstrapvz.common.tasks import workspace
|
from bootstrapvz.common.tasks import workspace
|
||||||
from connection import Connect
|
import connection
|
||||||
from . import assets
|
from . import assets
|
||||||
import os.path
|
import os.path
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ cert_ec2 = os.path.join(assets, 'certs/cert-ec2.pem')
|
||||||
class AMIName(Task):
|
class AMIName(Task):
|
||||||
description = 'Determining the AMI name'
|
description = 'Determining the AMI name'
|
||||||
phase = phases.preparation
|
phase = phases.preparation
|
||||||
predecessors = [Connect]
|
predecessors = [connection.SilenceBotoDebug, connection.Connect]
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def run(cls, info):
|
def run(cls, info):
|
||||||
|
|
Loading…
Add table
Reference in a new issue