LCOW: VHDX boot to read-only

Signed-off-by: John Howard <jhoward@microsoft.com>
Upstream-commit: 17a24034bb4281e2b63949beaa5d3846c0891726
Component: engine
This commit is contained in:
John Howard
2017-09-06 10:55:19 -07:00
parent 54efaca689
commit 8db4d9c803

View File

@ -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{