add /etc/hosts volume to rkt templates

This commit is contained in:
ArchiFleKs
2017-10-06 17:17:34 +02:00
parent da61b8e7c9
commit 7c663de6c9
3 changed files with 6 additions and 0 deletions

View File

@@ -14,6 +14,8 @@ LimitNOFILE=40000
# /vault/logs/ # Log files
ExecStart=/usr/bin/rkt run \
--insecure-options=image \
--volume hosts,kind=host,source=/etc/hosts,readOnly=true \
--mount volume=hosts,target=/etc/hosts \
--volume=volume-vault-file,kind=host,source=/var/lib/vault \
--volume=volume-vault-logs,kind=host,source={{ vault_log_dir }} \
--volume=vault-cert-dir,kind=host,source={{ vault_cert_dir }} \