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
39b0429a
Commit
39b0429a
authored
May 17, 2013
by
Nikos Skalkotos
Browse files
Use OS as img name in wizard if distro is unknown
parent
84bc469c
Changes
1
Hide whitespace changes
Inline
Side-by-side
image_creator/dialog_wizard.py
View file @
39b0429a
...
...
@@ -195,9 +195,11 @@ def start_wizard(session):
if
init_token
is
None
:
init_token
=
""
distro
=
session
[
'image'
].
distro
ostype
=
session
[
'image'
].
ostype
name
=
WizardInputPage
(
"ImageName"
,
"Image Name"
,
"Please provide a name for the image:"
,
title
=
"Image Name"
,
init
=
session
[
'image'
].
distro
)
title
=
"Image Name"
,
init
=
ostype
if
distro
==
"unknown"
else
distro
)
descr
=
WizardInputPage
(
"ImageDescription"
,
"Image Description"
,
...
...
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