From 30fa6e3ea4f5177d6d8d3732d26452792264777e Mon Sep 17 00:00:00 2001 From: Olaf Kilian Date: Thu, 7 May 2015 09:35:40 +0200 Subject: [PATCH] Added default email address --- cloud/docker/docker_login.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cloud/docker/docker_login.py b/cloud/docker/docker_login.py index a6f119168bc..b515b414c5a 100644 --- a/cloud/docker/docker_login.py +++ b/cloud/docker/docker_login.py @@ -47,6 +47,7 @@ options: description: - The email address for the registry account required: false + default: anonymous@localhost.local reauth: description: - Whether refresh existing authentication on the Docker server (boolean) @@ -214,7 +215,7 @@ def main(): registry = dict(required=True), username = dict(required=True), password = dict(required=True), - email = dict(required=False, default=None), + email = dict(required=False, default='anonymous@localhost.local'), reauth = dict(required=False, default=False, type='bool'), dockercfg_path = dict(required=False, default='~/.dockercfg'), docker_url = dict(default='unix://var/run/docker.sock'),