From 8db4d9c803b8a5cac5ceeb017f3ac1748bacc86a Mon Sep 17 00:00:00 2001 From: John Howard Date: Wed, 6 Sep 2017 10:55:19 -0700 Subject: [PATCH] LCOW: VHDX boot to read-only Signed-off-by: John Howard Upstream-commit: 17a24034bb4281e2b63949beaa5d3846c0891726 Component: engine --- components/engine/libcontainerd/client_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/libcontainerd/client_windows.go b/components/engine/libcontainerd/client_windows.go index b869f96ba7..67ebb5998d 100644 --- a/components/engine/libcontainerd/client_windows.go +++ b/components/engine/libcontainerd/client_windows.go @@ -343,7 +343,7 @@ func (clnt *client) createLinux(containerID string, checkpoint string, checkpoin configuration.HvRuntime = &hcsshim.HvRuntime{ ImagePath: lcowOpt.Config.Vhdx, BootSource: "Vhd", - WritableBootSource: true, + WritableBootSource: false, } } else { configuration.HvRuntime = &hcsshim.HvRuntime{