From 06000850f0323e7065dbf5b32edacc94c31604d2 Mon Sep 17 00:00:00 2001 From: John Howard Date: Tue, 8 Aug 2017 14:40:33 -0700 Subject: [PATCH] LCOW: Additional flags for VHD boot Signed-off-by: John Howard Upstream-commit: 71328a7af580050448ba269663e04ff3f67aea72 Component: engine --- components/engine/libcontainerd/client_windows.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/engine/libcontainerd/client_windows.go b/components/engine/libcontainerd/client_windows.go index 3c17803615..8770b7980a 100644 --- a/components/engine/libcontainerd/client_windows.go +++ b/components/engine/libcontainerd/client_windows.go @@ -331,7 +331,9 @@ func (clnt *client) createLinux(containerID string, checkpoint string, checkpoin if lcowOpt.Config.ActualMode == opengcs.ModeActualVhdx { configuration.HvRuntime = &hcsshim.HvRuntime{ - ImagePath: lcowOpt.Config.Vhdx, + ImagePath: lcowOpt.Config.Vhdx, + BootSource: "Vhd", + WritableBootSource: true, } } else { configuration.HvRuntime = &hcsshim.HvRuntime{