How to build a mass storage driver to deploy images across various hardware platforms