Skip to content

Commit 665c025

Browse files
committed
remove redirect logic for serial console VM
1 parent 97168b7 commit 665c025

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

launcher/image/testworkloads/keymanager/workload.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,6 @@
1111
import requests_unixsocket
1212
import jsonschema
1313

14-
# Redirect stdout and stderr to serial console for VM logs
15-
try:
16-
console_file = open('/dev/console', 'a')
17-
sys.stdout = console_file
18-
sys.stderr = console_file
19-
except Exception:
20-
pass
2114

2215
session = requests_unixsocket.Session()
2316
# Use the correct socket path for confidential space environment

0 commit comments

Comments
 (0)