Skip to content

Commit

Permalink
Add node system-container ADDLT_MOUNTS
Browse files Browse the repository at this point in the history
This commit allows system-container based nodes
to accept additional mounts during creation.

This implements the same interface as the etcd
system container: https://github.com/projectatomic/atomic-system-containers/blob/master/etcd/config.json.template#L219

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1534933
  • Loading branch information
michaelgugino committed Jan 18, 2018
1 parent 9fc116a commit b8f2f54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions images/node/system-container/config.json.template
Expand Up @@ -491,6 +491,7 @@
"size=65536k"
]
}
$ADDTL_MOUNTS
],
"hooks": {},
"linux": {
Expand Down
3 changes: 2 additions & 1 deletion images/node/system-container/manifest.json
Expand Up @@ -6,6 +6,7 @@
"ORIGIN_DATA_DIR": "/var/lib/origin",
"MASTER_SERVICE": "atomic-openshift-master.service",
"DOCKER_SERVICE": "docker.service",
"OPENVSWITCH_SERVICE": "openvswitch.service"
"OPENVSWITCH_SERVICE": "openvswitch.service",
"ADDTL_MOUNTS": ""
}
}

0 comments on commit b8f2f54

Please sign in to comment.