Update the insecure flag

The current call has been deprecated in
https://github.com/coreos/rkt/pull/1738
This commit is contained in:
Abhishek Chanda 2015-12-25 15:59:54 +00:00
parent 0b29c2046d
commit 60fe5e19e8

View file

@ -143,7 +143,7 @@ func (d *RktDriver) Start(ctx *ExecContext, task *structs.Task) (DriverHandle, e
d.logger.Printf("[DEBUG] driver.rkt: added trust prefix: %q", trustPrefix)
} else {
// Disble signature verification if the trust command was not run.
cmdArgs = append(cmdArgs, "--insecure-skip-verify")
cmdArgs = append(cmdArgs, "--insecure-options=all")
}
// Inject the environment variables.