Signed-off-by: John Howard <jhoward@microsoft.com>
| ... | ... |
@@ -1,17 +1,12 @@ |
| 1 | 1 |
package system |
| 2 | 2 |
|
| 3 |
-import "os" |
|
| 4 |
- |
|
| 5 | 3 |
// lcowSupported determines if Linux Containers on Windows are supported. |
| 6 | 4 |
var lcowSupported = false |
| 7 | 5 |
|
| 8 | 6 |
// InitLCOW sets whether LCOW is supported or not |
| 9 |
-// TODO @jhowardmsft. |
|
| 10 |
-// 1. Replace with RS3 RTM build number. |
|
| 11 |
-// 2. Remove the getenv check when image-store is coalesced as shouldn't be needed anymore. |
|
| 12 | 7 |
func InitLCOW(experimental bool) {
|
| 13 | 8 |
v := GetOSVersion() |
| 14 |
- if experimental && v.Build > 16278 && os.Getenv("LCOW_SUPPORTED") != "" {
|
|
| 9 |
+ if experimental && v.Build >= 16299 {
|
|
| 15 | 10 |
lcowSupported = true |
| 16 | 11 |
} |
| 17 | 12 |
} |