mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-05 20:00:54 +00:00
The Hyper-V backend is loosly based on the docker-machine code as well as ./scripts/LinuxKit.ps1. It shells out to Powershell for most of the configuration. Console is provided by github.com/Azure/go-ansiterm/winterm and the ode surrounding it is loosely based on the equivalent code in containerd and moby/moby. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
18 lines
225 B
Go
18 lines
225 B
Go
// +build !windows
|
|
|
|
package main
|
|
|
|
// Fallback implementation
|
|
|
|
import (
|
|
"log"
|
|
)
|
|
|
|
func hypervStartConsole(vmName string) error {
|
|
log.Fatalf("This function should not be called")
|
|
return nil
|
|
}
|
|
|
|
func hypervRestoreConsole() {
|
|
}
|