Browse code

Revendor Microsoft/opengcs @v0.3.3

Signed-off-by: John Howard <jhoward@microsoft.com>

John Howard authored on 2017/09/07 04:55:25
Showing 2 changed files
... ...
@@ -8,7 +8,7 @@ github.com/docker/libtrust 9cbd2a1374f46905c68a4eb3694a130610adc62a
8 8
 github.com/go-check/check 4ed411733c5785b40214c70bce814c3a3a689609 https://github.com/cpuguy83/check.git
9 9
 github.com/gorilla/context v1.1
10 10
 github.com/gorilla/mux v1.1
11
-github.com/Microsoft/opengcs v0.3.2
11
+github.com/Microsoft/opengcs v0.3.3
12 12
 github.com/kr/pty 5cf931ef8f
13 13
 github.com/mattn/go-shellwords v1.0.3
14 14
 github.com/sirupsen/logrus v1.0.1
... ...
@@ -93,10 +93,10 @@ func ParseOptions(options []string) (Options, error) {
93 93
 			case "lcow.timeout":
94 94
 				var err error
95 95
 				if rOpts.TimeoutSeconds, err = strconv.Atoi(opt[1]); err != nil {
96
-					return rOpts, fmt.Errorf("opengcstimeoutsecs option could not be interpreted as an integer")
96
+					return rOpts, fmt.Errorf("lcow.timeout option could not be interpreted as an integer")
97 97
 				}
98 98
 				if rOpts.TimeoutSeconds < 0 {
99
-					return rOpts, fmt.Errorf("opengcstimeoutsecs option cannot be negative")
99
+					return rOpts, fmt.Errorf("lcow.timeout option cannot be negative")
100 100
 				}
101 101
 			}
102 102
 		}
... ...
@@ -242,7 +242,7 @@ func (config *Config) StartUtilityVM() error {
242 242
 		configuration.HvRuntime = &hcsshim.HvRuntime{
243 243
 			ImagePath:          config.Vhdx,
244 244
 			BootSource:         "Vhd",
245
-			WritableBootSource: true,
245
+			WritableBootSource: false,
246 246
 		}
247 247
 	} else {
248 248
 		configuration.HvRuntime = &hcsshim.HvRuntime{