applied new nspawn option
This commit is contained in:
parent
0998ae3927
commit
0fa916778d
|
@ -422,6 +422,7 @@ func main() {
|
||||||
option = append(option, fmt.Sprintf("--setenv=GATEWAY_ADDR=%s", gw.String()))
|
option = append(option, fmt.Sprintf("--setenv=GATEWAY_ADDR=%s", gw.String()))
|
||||||
option = append(option, fmt.Sprintf("--machine=%s", nodeName))
|
option = append(option, fmt.Sprintf("--machine=%s", nodeName))
|
||||||
option = append(option, fmt.Sprintf("--directory=%s", filepath.Join(nodePath, "merge")))
|
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 {
|
for _, mountPoint := range config.MoundPoint {
|
||||||
if mountOption, err := mountPoint.Option(nodePath); err != nil {
|
if mountOption, err := mountPoint.Option(nodePath); err != nil {
|
||||||
|
|
Loading…
Reference in New Issue