robur-coop / albatross

Albatross: orchestrate and manage MirageOS unikernels with Solo5
ISC License
142 stars 17 forks source link

support solo5 0.7.4 option --block-sector-size #134

Closed hannesm closed 1 year ago

hannesm commented 1 year ago

//cc @reynir

missing is a test case where a sector size is specified (and actually run that code).

reynir commented 1 year ago

I tested this branch using opam-mirror:

$ albatross-client-local create opam-mirror ./mirror.hvt --block=tar:opam-mirror@4096 --net=service:mirbr0 --mem=256 --arg=--help
# and albatross-client-local console opam-mirror:
console 2022-11-16T10:10:00-00:00: solo5-hvt: Invalid option: `--block-sector-size:tar=4096'

Currently I'm waiting for solo5 0.7.4 to go through the builder queue for debian, but it looks good so far. The existing three unikernels came back up just fine after upgrading albatross. In the meantime I will fix the description of --block.