git://git.onelab.eu
/
bootmanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2c2cf55
)
don't post ifconfig output when uploading logs, no longer necessary
author
Aaron Klingaman
<alk@cs.princeton.edu>
Thu, 28 Jul 2005 22:56:29 +0000
(22:56 +0000)
committer
Aaron Klingaman
<alk@cs.princeton.edu>
Thu, 28 Jul 2005 22:56:29 +0000
(22:56 +0000)
source/BootManager.py
patch
|
blob
|
history
diff --git
a/source/BootManager.py
b/source/BootManager.py
index
ea8015a
..
fdda2a3
100755
(executable)
--- a/
source/BootManager.py
+++ b/
source/BootManager.py
@@
-86,9
+86,6
@@
class log:
print( "Unable to open output file for log, continuing" )
self.OutputFile= None
- # for upload
- os.system( "ifconfig eth0 > /tmp/ifconfig" )
-
def LogEntry( self, str, inc_newline= 1, display_screen= 1 ):
if self.OutputFile:
@@
-128,7
+125,7
@@
class log:
self.OutputFile= None
curl_cmd= "%s -s --connect-timeout 60 --max-time 600 " \
- "--form log=@%s
--form ifconfig=\</tmp/ifconfig
%s" % \
+ "--form log=@%s %s" % \
(CURL_PATH, self.OutputFilePath, UPLOAD_LOG_URL)
os.system( curl_cmd )