Thanks for your guidelines!
They worked great
The only flaw I noticed, was the fact, that each reference to the image
is an absolute path, instead of being a relative one:
/ubuntu-21.04-preinstalled-server-riscv64+unmatched.img
versus
ubuntu-21.04-preinstalled-server-riscv64+unmatched.img