1
1
Fork 0

applied new nspawn option

This commit is contained in:
Sangbum Kim 2017-11-07 01:34:10 +09:00
parent 0998ae3927
commit 0fa916778d
1 changed files with 1 additions and 0 deletions

View File

@ -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 {