Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
snf-image-creator
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
itminedu
snf-image-creator
Commits
6f9e1534
Commit
6f9e1534
authored
12 years ago
by
Nikos Skalkotos
Browse files
Options
Downloads
Patches
Plain Diff
Use user id to authenticate with synnefo
Latest versions of synnefo require user id instead of e-mail to authenticate.
parent
8ec4da46
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/usage.rst
+1
-1
1 addition, 1 deletion
docs/usage.rst
image_creator/dialog_menu.py
+2
-2
2 additions, 2 deletions
image_creator/dialog_menu.py
image_creator/dialog_wizard.py
+1
-1
1 addition, 1 deletion
image_creator/dialog_wizard.py
with
4 additions
and
4 deletions
docs/usage.rst
+
1
−
1
View file @
6f9e1534
...
...
@@ -175,7 +175,7 @@ following basic information:
* Name: A short name for the image (ex. "Slackware")
* Description: An one-line description for the image
(ex. "Slackware Linux 14.0 with KDE")
* Account: An *~okeanos* account
email
* Account: An *~okeanos* account
user id
* Token: A token corresponding to the account given above
After confirming, the image will be extracted, uploaded to *pithos+* and
...
...
This diff is collapsed.
Click to expand it.
image_creator/dialog_menu.py
+
2
−
2
View file @
6f9e1534
...
...
@@ -266,7 +266,7 @@ def kamaki_menu(session):
token
=
session
[
"
token
"
]
if
"
token
"
in
session
else
"
<none>
"
upload
=
session
[
"
upload
"
]
if
"
upload
"
in
session
else
"
<none>
"
choices
=
[(
"
Account
"
,
"
Change your ~okeanos user
name
: %s
"
%
account
),
choices
=
[(
"
Account
"
,
"
Change your ~okeanos user
id
: %s
"
%
account
),
(
"
Token
"
,
"
Change your ~okeanos token: %s
"
%
token
),
(
"
Upload
"
,
"
Upload image to pithos+
"
),
(
"
Register
"
,
"
Register the image to cyclades: %s
"
%
upload
)]
...
...
@@ -283,7 +283,7 @@ def kamaki_menu(session):
if
choice
==
"
Account
"
:
default_item
=
"
Account
"
(
code
,
answer
)
=
d
.
inputbox
(
"
Please provide your ~okeanos account
e-mail address
:
"
,
"
Please provide your ~okeanos account
user id
:
"
,
init
=
session
[
"
account
"
]
if
"
account
"
in
session
else
''
,
width
=
WIDTH
)
if
code
in
(
d
.
DIALOG_CANCEL
,
d
.
DIALOG_ESC
):
...
...
This diff is collapsed.
Click to expand it.
image_creator/dialog_wizard.py
+
1
−
1
View file @
6f9e1534
...
...
@@ -191,7 +191,7 @@ def wizard(session):
init
=
session
[
'
metadata
'
][
'
DESCRIPTION
'
]
if
'
DESCRIPTION
'
in
session
[
'
metadata
'
]
else
''
)
account
=
WizardInputPage
(
"
account
"
,
"
Please provide your ~okeanos account
e-mail
:
"
,
"
Please provide your ~okeanos account
user id
:
"
,
title
=
"
~okeanos account information
"
,
init
=
init_account
)
token
=
WizardInputPage
(
"
token
"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment