From 71328a7af580050448ba269663e04ff3f67aea72 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 --- libcontainerd/client_windows.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libcontainerd/client_windows.go b/libcontainerd/client_windows.go index 3c17803615..8770b7980a 100644 --- a/libcontainerd/client_windows.go +++ b/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{