Environment
- Unikraft CLI 0.4.2 (linux/amd64)
- Metro: fra
Summary
The CLI's own help text offers a directory form for --rom. Using exactly that form fails with a 400 from the API.
Steps to reproduce
unikraft run --help prints, verbatim:
--rom
Attach ROM.
[examples: image=myuser/my-rom:latest,at=/rom0,name=my-rom, dir=./mydata,at=/rom]
Using the advertised dir= form:
$ unikraft run --metro fra --name x --image python:3.13-alpine \
--rom dir=./kernel,at=/rom -p 443:8080/http+tls -m 512MiB
error: failed on "fra" client: request failed: 400 Bad Request
request error: Missing member 'image' in auxiliary ROM description
Expected
Either the dir= form works and packages the directory, or it is removed from the help examples.
Actual
The help promises a form the backend will not accept.
Impact
Minor on its own, but dir= looks like exactly the escape hatch for injecting a small file without a full image build, so it is an attractive thing to reach for. I lost time assuming I had the syntax wrong.
Environment
Summary
The CLI's own help text offers a directory form for
--rom. Using exactly that form fails with a 400 from the API.Steps to reproduce
unikraft run --helpprints, verbatim:Using the advertised
dir=form:Expected
Either the
dir=form works and packages the directory, or it is removed from the help examples.Actual
The help promises a form the backend will not accept.
Impact
Minor on its own, but
dir=looks like exactly the escape hatch for injecting a small file without a full image build, so it is an attractive thing to reach for. I lost time assuming I had the syntax wrong.