文件操作 - guestcust_error.py
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3/dist-packages/cloudinit/sources/helpers/vmware/imc/guestcust_error.py
编辑文件内容
# Copyright (C) 2016 Canonical Ltd. # Copyright (C) 2016 VMware Inc. # # Author: Sankar Tanguturi <stanguturi@vmware.com> # # This file is part of cloud-init. See LICENSE file for license information. class GuestCustErrorEnum: """Specifies different errors of Guest Customization engine""" GUESTCUST_ERROR_SUCCESS = 0 GUESTCUST_ERROR_SCRIPT_DISABLED = 6 GUESTCUST_ERROR_WRONG_META_FORMAT = 9
修改文件时间
将文件时间修改为当前时间的前一年
删除文件