()
| 315 | }; |
| 316 | |
| 317 | const bootTime = async (): Promise<string> => |
| 318 | os === "windows" |
| 319 | ? ( |
| 320 | await ssh("(Get-CimInstance Win32_OperatingSystem).LastBootUpTime.ToString('o')") |
| 321 | ).stdout.trim() |
| 322 | : (await ssh("cat /proc/sys/kernel/random/boot_id")).stdout.trim(); |
| 323 | |
| 324 | const handle: VmHandle = { |
| 325 | os, |