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
24853598
Commit
24853598
authored
10 years ago
by
Nikos Skalkotos
Browse files
Options
Downloads
Plain Diff
Merge branch 'release-0.7' into debian-release-0.7-precise
parents
1bcd7fe1
8e3be4c3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
ChangeLog
+1
-1
1 addition, 1 deletion
ChangeLog
image_creator/util.py
+10
-1
10 additions, 1 deletion
image_creator/util.py
image_creator/version.py
+3
-3
3 additions, 3 deletions
image_creator/version.py
version
+1
-1
1 addition, 1 deletion
version
with
15 additions
and
6 deletions
ChangeLog
+
1
−
1
View file @
24853598
2014-09-1
2
, v0.7rc
2
2014-09-1
6
, v0.7rc
3
* Support all QEMU supported disk image formats as input media
* Detect if a Windows input media is sysprepped
* Support VirtIO driver installation in Windows
...
...
This diff is collapsed.
Click to expand it.
image_creator/util.py
+
10
−
1
View file @
24853598
...
...
@@ -51,7 +51,16 @@ def image_info(image):
"""
Returns information about an image file
"""
qemu_img
=
get_command
(
'
qemu-img
'
)
info
=
qemu_img
(
'
info
'
,
'
--output
'
,
'
json
'
,
image
)
try
:
info
=
qemu_img
(
'
info
'
,
'
--output
'
,
'
json
'
,
image
)
except
sh
.
ErrorReturnCode_1
:
# Old version of qemu-img that does not support --output json
info
=
qemu_img
(
'
info
'
,
image
)
for
line
in
str
(
info
).
splitlines
():
if
line
.
startswith
(
'
file format:
'
):
format
=
line
.
split
(
'
:
'
)[
1
].
strip
()
return
{
'
format
'
:
format
}
raise
FatalError
(
"
Unable to determine the image format
"
)
return
json
.
loads
(
str
(
info
))
...
...
This diff is collapsed.
Click to expand it.
image_creator/version.py
+
3
−
3
View file @
24853598
__version__
=
"
0.7rc
2
"
__version__
=
"
0.7rc
3
"
__version_vcs_info__
=
{
'
branch
'
:
'
release-0.7
'
,
'
revid
'
:
'
9813162
'
,
'
revno
'
:
56
4
}
'
revid
'
:
'
d595255
'
,
'
revno
'
:
56
6
}
__version_user_email__
=
"
skalkoto@grnet.gr
"
__version_user_name__
=
"
Nikos Skalkotos
"
This diff is collapsed.
Click to expand it.
version
+
1
−
1
View file @
24853598
0.7rc
2
0.7rc
3
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