Removing `overlay` is done twice. Remove those duplicate calls.
rm -- "$TESTDIR"/marker.img
# Create server root filesystem
- rm -rf -- "$TESTDIR"/overlay
call_dracut --tmpdir "$TESTDIR" \
--add-confdir test-root \
-a "$USE_NETWORK iscsi" \
}
make_client_root() {
- rm -fr "$TESTDIR"/overlay
build_client_rootfs "$TESTDIR/overlay/source"
inst_multiple ip
inst_init ./client-init.sh "$TESTDIR"/overlay/source
make_client_root
make_server_root
- rm -fr "$TESTDIR"/overlay
- # Make the test image
-
# shellcheck source=$TESTDIR/luks.uuid
. "$TESTDIR"/luks.uuid