Browse Source

LCOW: VHDX boot to read-only

Signed-off-by: John Howard <jhoward@microsoft.com>
John Howard 7 years ago
parent
commit
17a24034bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libcontainerd/client_windows.go

+ 1 - 1
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{