mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
[PYGRUB] Invoke pygrub with TERM=vt100
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
This commit is contained in:
1 parent
22a3e99d97
commit
479f9c8a5d
2 files changed
+7
-2
No files matched your search
@@ -97,7 +97,9 @@ def bootloader(blexec, disk, dom, quiet = False, blargs = '', kernel = '',
|
||||
|
||||
try:
|
||||
log.debug("Launching bootloader as %s." % str(args))
|
||||
os.execvp(args[0], args)
|
||||
env = os.environ.copy()
|
||||
env['TERM'] = 'vt100'
|
||||
os.execvpe(args[0], args, env)
|
||||
except OSError, e:
|
||||
print e
|
||||
pass
|
||||
|
||||