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
6223cd7d
Commit
6223cd7d
authored
11 years ago
by
Nikos Skalkotos
Browse files
Options
Downloads
Plain Diff
Merge branch 'hotfix-0.4.2'
parents
4fecb169
5e18a927
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
image_creator/dialog_menu.py
+4
-0
4 additions, 0 deletions
image_creator/dialog_menu.py
with
4 additions
and
0 deletions
image_creator/dialog_menu.py
+
4
−
0
View file @
6223cd7d
...
...
@@ -326,6 +326,7 @@ def delete_clouds(session):
(
code
,
to_delete
)
=
d
.
checklist
(
"
Choose which cloud accounts to delete:
"
,
choices
=
choices
,
width
=
WIDTH
)
to_delete
=
map
(
lambda
x
:
x
.
strip
(
'"'
),
to_delete
)
# Needed for OpenSUSE
if
code
in
(
d
.
DIALOG_CANCEL
,
d
.
DIALOG_ESC
):
return
False
...
...
@@ -537,6 +538,7 @@ def delete_properties(session):
(
code
,
to_delete
)
=
d
.
checklist
(
"
Choose which properties to delete:
"
,
choices
=
choices
,
width
=
WIDTH
)
to_delete
=
map
(
lambda
x
:
x
.
strip
(
'"'
),
to_delete
)
# needed for OpenSUSE
# If the user exits with ESC or CANCEL, the returned tag list is empty.
for
i
in
to_delete
:
...
...
@@ -586,6 +588,7 @@ def exclude_tasks(session):
choices
=
choices
,
height
=
19
,
list_height
=
8
,
width
=
WIDTH
,
help_button
=
1
,
extra_button
=
1
,
extra_label
=
"
No Config
"
,
title
=
"
Exclude Configuration Tasks
"
)
tags
=
map
(
lambda
x
:
x
.
strip
(
'"'
),
tags
)
# Needed for OpenSUSE
if
code
in
(
d
.
DIALOG_CANCEL
,
d
.
DIALOG_ESC
):
return
False
...
...
@@ -659,6 +662,7 @@ def sysprep(session):
"
run on the image. Press <Help> to see details about the system
"
"
preparation tasks.
"
,
title
=
"
Run system preparation tasks
"
,
choices
=
choices
,
width
=
70
,
ok_label
=
"
Run
"
,
help_button
=
1
)
tags
=
map
(
lambda
x
:
x
.
strip
(
'"'
),
tags
)
# Needed for OpenSUSE
if
code
in
(
d
.
DIALOG_CANCEL
,
d
.
DIALOG_ESC
):
return
False
...
...
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