From 62d879d3178864203b3df85826b2f9798d518243 Mon Sep 17 00:00:00 2001 From: Abhishek Chanda Date: Fri, 25 Dec 2015 15:59:54 +0000 Subject: [PATCH] Update the insecure flag The current call has been deprecated in https://github.com/coreos/rkt/pull/1738 --- client/driver/rkt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/driver/rkt.go b/client/driver/rkt.go index 99084b5f826..19509f2ad75 100644 --- a/client/driver/rkt.go +++ b/client/driver/rkt.go @@ -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.