From 17a24034bb4281e2b63949beaa5d3846c0891726 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 --- libcontainerd/client_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcontainerd/client_windows.go b/libcontainerd/client_windows.go index b869f96ba7..67ebb5998d 100644 --- a/libcontainerd/client_windows.go +++ b/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{