Get the correct environment variable name.

This commit is contained in:
Pedro Algarvio 2013-09-06 14:42:20 +01:00
parent 3d6debf33a
commit 03491874d0

View file

@ -85,7 +85,7 @@ def run(opts):
RUN!
'''
vm_name = os.environ.get(
'JENKINS_SALTCLOUD_VM_PLATFORM',
'JENKINS_SALTCLOUD_VM_NAME',
generate_vm_name(opts.platform)
)