Merge pull request #34451 from Microsoft/jjh/bootvhdx

LCOW: Additional flags for VHD boot
This commit is contained in:
Yong Tang 2017-08-24 08:38:19 -07:00 committed by GitHub
commit e5cdaf1bd9

View file

@ -332,6 +332,8 @@ func (clnt *client) createLinux(containerID string, checkpoint string, checkpoin
if lcowOpt.Config.ActualMode == opengcs.ModeActualVhdx {
configuration.HvRuntime = &hcsshim.HvRuntime{
ImagePath: lcowOpt.Config.Vhdx,
BootSource: "Vhd",
WritableBootSource: true,
}
} else {
configuration.HvRuntime = &hcsshim.HvRuntime{