Do not register to the metadata service

This commit is contained in:
Abhishek Chanda 2015-10-01 14:34:08 -07:00
parent ab6d756dfe
commit 578aa89e81

View file

@ -103,7 +103,7 @@ func (d *RktDriver) Start(ctx *ExecContext, task *structs.Task) (DriverHandle, e
// Run the ACI // Run the ACI
var aoutBuf, aerrBuf bytes.Buffer var aoutBuf, aerrBuf bytes.Buffer
acmd := exec.Command("rkt", "run", "--interactive", name) acmd := exec.Command("rkt", "run", "--mds-register=false", "--interactive", name)
acmd.Stdout = &aoutBuf acmd.Stdout = &aoutBuf
acmd.Stderr = &aerrBuf acmd.Stderr = &aerrBuf
d.logger.Printf("[DEBUG] Starting rkt command: %q", acmd.Args) d.logger.Printf("[DEBUG] Starting rkt command: %q", acmd.Args)