Skip to content

Commit 071e8c4

Browse files
committed
cloud-hypervisor: remove getConsoleScript
1 parent 6c2123b commit 071e8c4

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

lib/runners/cloud-hypervisor.nix

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -241,15 +241,6 @@ in {
241241
''
242242
else throw "Cannot shutdown without socket";
243243

244-
getConsoleScript =
245-
if socket != null
246-
then ''
247-
PTY=$(${pkgs.cloud-hypervisor}/bin/ch-remote --api-socket ${socket} info | \
248-
${pkgs.jq}/bin/jq -r .config.serial.file \
249-
)
250-
''
251-
else null;
252-
253244
setBalloonScript =
254245
if socket != null
255246
then ''

0 commit comments

Comments
 (0)