def METHOD_NAME(self, params):
    sys.stdout.write(
        'Creating the on-premises instance configuration file... '
    )
    try:
        os.makedirs(params.system.CONFIG_DIR)
    except OSError as e:
        if e.errno != errno.EEXIST:
            raise e
    if params.config_file != params.system.CONFIG_PATH:
        shutil.copyfile(params.config_file, params.system.CONFIG_PATH)
    sys.stdout.write('DONE\n')