Commit aa486e93 authored by Nikos Skalkotos's avatar Nikos Skalkotos

Fix syntax errors

parent 36a308e8
......@@ -42,7 +42,7 @@ Options
dump image to FILE
--public
register image to cyclades as public
register image with cyclades as public
--print-sysprep
print the enabled and disabled system preparation operations for this
......
......@@ -45,7 +45,7 @@ snf-image-creator receives the following options:
media
--no-sysprep don't perform any system preparation operation
--no-shrink don't shrink the image
--public register image to cyclades as public
--public register image with cyclades as public
--tmpdir=DIR create large temporary image files under DIR
Most input options are self-describing. If you want to save a local copy of
......@@ -202,10 +202,11 @@ In the *Customize* sub-menu the user can control:
In the *Register* sub-menu the user can provide:
* The credentials (authentication token) to authenticate on *~okeanos*
* The credentials (authentication token) to use when authenticating
to *~okeanos*
* A *pithos+* filename for the uploaded *diskdump* image
* A name for the image to be registered to *~okeanos* with, as well as the
registration type (*private* or *public*)
* A name for the image to use when registering it with *~okeanos*, as well as
the registration type (*private* or *public*)
By choosing the *Extract* menu entry, the user can dump the image to the local
file system. Finally, if the user selects *Reset*, the system will ignore
......
......@@ -195,13 +195,13 @@ def register_image(session):
if "account" not in session:
d.msgbox("You need to provide your ~okeanos credentians before you "
"can register an images to cyclades",
"can register an images with cyclades",
width=SMALL_WIDTH)
return False
if "pithos_uri" not in session:
d.msgbox("You need to upload the image to pithos+ before you can "
"register it to cyclades", width=SMALL_WIDTH)
"register it with cyclades", width=SMALL_WIDTH)
return False
while 1:
......
......@@ -119,7 +119,7 @@ def parse_options(input_args):
help="don't shrink any partition", action="store_false")
parser.add_option("--public", dest="public", default=False,
help="register image to cyclades as public",
help="register image with cyclades as public",
action="store_true")
parser.add_option("--tmpdir", dest="tmp", type="string", default=None,
......
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