'Make the config drive.
:param path: the path to place the config drive image at
:raises ProcessExecuteError if a helper process has failed.'

def make_drive(self, path):

    with utils.tempdir() as tmpdir:
        self._write_md_files(tmpdir)
        if (CONF.config_drive_format == 'iso9660'):
            self._make_iso9660(path, tmpdir)
        elif (CONF.config_drive_format == 'vfat'):
            self._make_vfat(path, tmpdir)
        else:
            raise exception.ConfigDriveUnknownFormat(format=CONF.config_drive_format)
