diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-01-02 03:08:29 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-01-02 03:08:29 +0100 |
commit | 9d2bff27fd89842a67e19b8f13c1242bb1c1fdad (patch) | |
tree | 66c7c58d3fd354e23d6153242caaa8d8d964dc4c /modules/nspawn/manifests/machine.pp | |
parent | Improve node classifier. (diff) | |
download | webdav_server-9d2bff27fd89842a67e19b8f13c1242bb1c1fdad.tar.gz webdav_server-9d2bff27fd89842a67e19b8f13c1242bb1c1fdad.tar.xz |
Nspawn with a bind mount.
Diffstat (limited to 'modules/nspawn/manifests/machine.pp')
-rw-r--r-- | modules/nspawn/manifests/machine.pp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/nspawn/manifests/machine.pp b/modules/nspawn/manifests/machine.pp index d747069..1c688f6 100644 --- a/modules/nspawn/manifests/machine.pp +++ b/modules/nspawn/manifests/machine.pp @@ -15,6 +15,11 @@ define nspawn::machine ( # /usr/lib/systemd/resolv.conf ResolvConf=copy-static + [Files] + # TODO This should only be mounted on puppet servers, in case it + # contains secrets + BindReadOnly=/usr/local/puppet:/puppet + [Network] Bridge=br0 | EOF |