Commit e9709097 authored by Christos Stavrakakis's avatar Christos Stavrakakis

docs: Update kamaki image register command

parent 5eeccf07
......@@ -642,8 +642,8 @@ image to Cyclades:
.. code-block:: console
$ kamaki image register "Debian Base" \
pithos://u53r-un1qu3-1d/images/debian_base-6.0-7-x86_64.diskdump \
$ kamaki image register --name="Debian Base" \
--location="pithos://u53r-un1qu3-1d/images/debian_base-6.0-7-x86_64.diskdump" \
--public \
--disk-format=diskdump \
--property OSFAMILY=linux --property ROOT_PARTITION=1 \
......
......@@ -1445,7 +1445,8 @@ def register_image(image="debian_base.diskdump"):
image_location = "images:{0}".format(image)
cmd = """
sleep 5
kamaki image register "Debian Base" {0} --public --disk-format=diskdump \
kamaki image register --name="Debian Base" --location={0} --public \
--disk-format=diskdump \
--property OSFAMILY=linux --property ROOT_PARTITION=1 \
--property description="Debian Squeeze Base System" \
--property size=450M --property kernel=2.6.32 \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment