fickit: On deimos, allow performing status command from sshd
This commit is contained in:
parent
45395e399d
commit
a0a62a808d
@ -374,6 +374,7 @@ services:
|
|||||||
- /usr/bin/mariadb:/usr/bin/mariadb:ro
|
- /usr/bin/mariadb:/usr/bin/mariadb:ro
|
||||||
- /usr/bin/mysql:/usr/bin/mysql:ro
|
- /usr/bin/mysql:/usr/bin/mysql:ro
|
||||||
- /usr/bin/pnsenter:/usr/bin/pnsenter:ro
|
- /usr/bin/pnsenter:/usr/bin/pnsenter:ro
|
||||||
|
- /usr/bin/status:/usr/bin/status:ro
|
||||||
- /var/lib/fic/outofsync:/var/lib/fic/outofsync
|
- /var/lib/fic/outofsync:/var/lib/fic/outofsync
|
||||||
- /var/lib/fic/raw_files:/mnt/fic
|
- /var/lib/fic/raw_files:/mnt/fic
|
||||||
- /var/log:/var/log:ro
|
- /var/log:/var/log:ro
|
||||||
@ -442,7 +443,7 @@ files:
|
|||||||
- path: usr/bin/status
|
- path: usr/bin/status
|
||||||
contents: |
|
contents: |
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
ctr -n services.linuxkit t ls
|
nsenter -t 1 -m ctr -n services.linuxkit t ls
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
- path: usr/bin/iptables
|
- path: usr/bin/iptables
|
||||||
source: configs/nsenter_iptables.sh
|
source: configs/nsenter_iptables.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user