threefoldtech / zos

Autonomous operating system
https://threefold.io/host/
Apache License 2.0
82 stars 13 forks source link

install and support rfs v2 with backward compatibility support #2071

Closed muhamadazmy closed 9 months ago

muhamadazmy commented 11 months ago

Right now zos uses rfs with v1 (named g8ufs on the zos) we need to also have (and support) v2 on the node. So we ALWAYS need to maintain the 2 binary versions

The flistd daemon need to be able to decide which one of the 2 binaries to use based on the flist name. Right now the best way to do so is by just checking the flist extension of the flist to be mounted.

flistd then can detect the type, and based on that either use the old binary, or the new one. Note that they both has different argument lists.

khaledyoussef24 commented 9 months ago

where can i verify or check the images of v2 .fl ?

khaledyoussef24 commented 9 months ago
khaledyoussef24 commented 9 months ago

verified deployed a vm using terraform using v2 '.fl' and it worked fine and was reachable it is not supported on playground yet the example used: image deployed image image the VM worked fine

ramezsaeed commented 9 months ago

Note: