baas-project/baas

Set the target disk UUID in the management OS or the JSON request

Closed this issue · 1 comments

Summary

Currently, the database has a bridging table which stores the machine, an image and on which disk UUID it should be mounted on the disk. Personally I think this makes more sense to deal with in the management OS itself rather than setting this in stone at the first run. For the target operating system it really should not matter, it sees all data not belong to it's partition as just garbage anyway, and it allows for a lot more flexibility. The management OS might be able to flash images based on a LRU cache which could speed up the process a lot

Tasks

  • Delete the bridging table
  • Choose a target disk partition when the image is downloaded
  • Extra: use some caching feature to determine where it should flashed to.