Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
snf-image-creator
Commits
aa486e93
Commit
aa486e93
authored
Mar 20, 2013
by
Nikos Skalkotos
Browse files
Fix syntax errors
parent
36a308e8
Changes
4
Hide whitespace changes
Inline
Side-by-side
docs/man/snf-image-creator.rst
View file @
aa486e93
...
...
@@ -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
...
...
docs/usage.rst
View file @
aa486e93
...
...
@@ -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
register
ed to
*~okeanos*
with
, as well as
the
registration type (*private* or *public*)
* A name for the image to
use when
register
ing 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
...
...
image_creator/dialog_menu.py
View file @
aa486e93
...
...
@@ -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
:
...
...
image_creator/main.py
View file @
aa486e93
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment