haysberg / baleine

Rust-based Docker orchestrator for the R2Lab + Rhubarbe platform.

Home Page:https://r2lab.inria.fr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make the --bootstrap option able to deploy images different than the default r2dock image

haysberg opened this issue · comments

Researchers sometimes need specific host images (.ndz) to perform their experiments. For example, they need a real-time kernel on the host.

By allowing them to use specific images, we give them better control of their experimental environment.

It seems that there is an issue with the clap.rs parsing of arguments. As a workaround we are now using two different options :

  • --bootstrap to deploy the default r2dock image
  • --ndz that takes a value and deploys this .ndz image before doing anything else

Both of these arguments are marked as incompatible with each other, so that users don't re-image a server twice by accident.

Closing after #25 was merged.