summaryrefslogtreecommitdiff
path: root/cloud/openstack/_glance_image.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloud/openstack/_glance_image.py')
-rw-r--r--cloud/openstack/_glance_image.py19
1 files changed, 10 insertions, 9 deletions
diff --git a/cloud/openstack/_glance_image.py b/cloud/openstack/_glance_image.py
index 0db7aa2c..2d3c9583 100644
--- a/cloud/openstack/_glance_image.py
+++ b/cloud/openstack/_glance_image.py
@@ -120,15 +120,16 @@ requirements:
'''
EXAMPLES = '''
-# Upload an image from an HTTP URL
-- glance_image: login_username=admin
- login_password=passme
- login_tenant_name=admin
- name=cirros
- container_format=bare
- disk_format=qcow2
- state=present
- copy_from=http:launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img
+- name: Upload an image from an HTTP URL
+ glance_image:
+ login_username: admin
+ login_password: passme
+ login_tenant_name: admin
+ name: cirros
+ container_format: bare
+ disk_format: qcow2
+ state: present
+ copy_from: 'http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img'
'''
import time