From 0fa916778d8f3b99057e0202c13bdbccbfa5441d Mon Sep 17 00:00:00 2001 From: Sangbum Kim Date: Tue, 7 Nov 2017 01:34:10 +0900 Subject: [PATCH] applied new nspawn option --- octopus-outside/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/octopus-outside/main.go b/octopus-outside/main.go index d09ca66..27e9376 100644 --- a/octopus-outside/main.go +++ b/octopus-outside/main.go @@ -422,6 +422,7 @@ func main() { option = append(option, fmt.Sprintf("--setenv=GATEWAY_ADDR=%s", gw.String())) option = append(option, fmt.Sprintf("--machine=%s", nodeName)) option = append(option, fmt.Sprintf("--directory=%s", filepath.Join(nodePath, "merge"))) + option = append(option, "--keep-unit", "--register=no", "--settings=override") for _, mountPoint := range config.MoundPoint { if mountOption, err := mountPoint.Option(nodePath); err != nil {