write configdrive to disk from metadata