projects
/
snf-image-creator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
684a552
)
Use --uninstall in winexe
author
Nikos Skalkotos
<skalkoto@grnet.gr>
Tue, 23 Jul 2013 10:44:10 +0000
(13:44 +0300)
committer
Nikos Skalkotos
<skalkoto@grnet.gr>
Tue, 30 Jul 2013 13:43:59 +0000
(16:43 +0300)
image_creator/os_type/windows.py
patch
|
blob
|
history
diff --git
a/image_creator/os_type/windows.py
b/image_creator/os_type/windows.py
index
86de674
..
0847190
100644
(file)
--- a/
image_creator/os_type/windows.py
+++ b/
image_creator/os_type/windows.py
@@
-689,8
+689,8
@@
class Windows(OSBase):
addr = 'localhost'
runas = '--runas=%s' % user
winexe = subprocess.Popen(
addr = 'localhost'
runas = '--runas=%s' % user
winexe = subprocess.Popen(
- ['winexe', '-U', user, runas, "//%s" % addr, command],
- stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+ ['winexe', '-U', user, runas, "--uninstall", "//%s" % addr,
+ command], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout, stderr = winexe.communicate()
rc = winexe.poll()
stdout, stderr = winexe.communicate()
rc = winexe.poll()