Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
vmdriver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5ea57598
authored
Feb 26, 2014
by
Guba Sándor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vmdriver: added default flags for older libvirt
parent
63c4ce39
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vmdriver.py
+3
-3
No files found.
vmdriver.py
View file @
5ea57598
...
@@ -186,7 +186,7 @@ def create(vm_desc):
...
@@ -186,7 +186,7 @@ def create(vm_desc):
sock
.
close
()
sock
.
close
()
except
socket
.
error
:
except
socket
.
error
:
logging
.
error
(
'Unable to connect to context server'
)
logging
.
error
(
'Unable to connect to context server'
)
return
domain_info
(
vm
.
name
)
return
xml
class
shutdown
(
AbortableTask
):
class
shutdown
(
AbortableTask
):
...
@@ -363,7 +363,7 @@ def reset(name):
...
@@ -363,7 +363,7 @@ def reset(name):
"""
"""
domain
=
lookupByName
(
name
)
domain
=
lookupByName
(
name
)
domain
.
reset
()
domain
.
reset
(
0
)
return
_parse_info
(
domain
.
info
())
return
_parse_info
(
domain
.
info
())
...
@@ -377,7 +377,7 @@ def reboot(name):
...
@@ -377,7 +377,7 @@ def reboot(name):
"""
"""
domain
=
lookupByName
(
name
)
domain
=
lookupByName
(
name
)
domain
.
reboot
()
domain
.
reboot
(
0
)
return
_parse_info
(
domain
.
info
())
return
_parse_info
(
domain
.
info
())
...
...
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