test: add a test for /etc/resolv.conf in rw/ro mode
This patch isn't adding a test for /etc/hosts as that requires host network and we don't want to play with host's /etc/hosts when running make localintegration on our laptops. That may change in the future moving to some sort of in-container testing. Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
2014f0e14f
commit
8b4e3036ea
5 changed files with 188 additions and 7 deletions
2
test/testdata/container_config.json
vendored
2
test/testdata/container_config.json
vendored
|
@ -38,7 +38,6 @@
|
|||
"daemon": "crio"
|
||||
},
|
||||
"privileged": true,
|
||||
"readonly_rootfs": true,
|
||||
"log_path": "",
|
||||
"stdin": false,
|
||||
"stdin_once": false,
|
||||
|
@ -51,6 +50,7 @@
|
|||
"oom_score_adj": 30
|
||||
},
|
||||
"security_context": {
|
||||
"readonly_rootfs": false,
|
||||
"capabilities": {
|
||||
"add_capabilities": [
|
||||
"setuid",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue