Files
2026-02-18 11:41:03 +08:00

14 lines
474 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# vCenter配置支持多个
VCENTER_HOSTS=192.168.40.134
VCENTER_USER=administrator@lan.com
VCENTER_PASSWORD=Root@2025
# 快照保留天数
SNAPSHOT_RETENTION_DAYS=15
# 每台vCenter同时删除的快照数量限制
MAX_DELETE_CONCURRENT=4
# Excel导出路径
# EXCEL_OUTPUT_PATH=/tmp/vm_snapshots_report.xlsx
EXCEL_OUTPUT_PATH=./vm_snapshots_report.xlsx
# 日志文件路径
# LOG_FILE_PATH=/var/log/vm_snapshot_cleanup.log
LOG_FILE_PATH=./log/vm_snapshot_cleanup.log