generate a hosts file for storage network