Fixed logic flaw in the secrets mounts
Tested on a REHL box and found out that the mounts were not showing up Had a logic flaw, where if the mount was "host:container" Was setting the mount source to "host" and destination to "ctrRunDir/container" When instead, the mount source should be "ctrRunDir/container" and destination "container" with the data copied from "host" to "ctrRunDir/container" Signed-off-by: umohnani8 <umohnani@redhat.com>
This commit is contained in:
parent
04951dcc6e
commit
a11b1f953d
3 changed files with 7 additions and 8 deletions
|
@ -24,7 +24,7 @@ function teardown() {
|
|||
echo "$output"
|
||||
[ "$status" -eq 0 ]
|
||||
mount_info="$output"
|
||||
grep $ctr_id/userdata/container/path1 <<< "$mount_info"
|
||||
grep /container/path1 <<< "$mount_info"
|
||||
echo "$output"
|
||||
[ "$status" -eq 0 ]
|
||||
rm -rf MOUNT_PATH
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue