-
-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathupdate.conf
More file actions
172 lines (137 loc) · 7.72 KB
/
Copy pathupdate.conf
File metadata and controls
172 lines (137 loc) · 7.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
╔══════════════════════════════════════════════╗
║ The Ultimate Updater for Proxmox VE ║
║ ║
║ Repo: https://github.com/BassT23/Proxmox/ ║
╚══════════════════════════════════════════════╝
╔══════════════════════════════════════════════╗
║ Config File ║
╟──────────────────────────────────────────────╢
║ change 'true/false' or comment out with '#' ║
╚══════════════════════════════════════════════╝
┌──────────────────────────────────────────────┐
│ General │
└──────────────────────────────────────────────┘
VERSION="2.1"
USED_BRANCH="develop" # could be "master/beta/develop"
# Debug mode - set to true for debug output
DEBUG="false"
LOG_FILE="/var/log/ultimate-updater.log"
ERROR_LOG_FILE="/var/log/ultimate-updater-error.log"
VERSION_CHECK="true"
# VM can be set seperately in VM config file
SSH_PORT="22"
# Internet check
# check could be done with "ping" or "curl"
# if use curl - curl must be installed by your self on the machines
# - otherwise check will fail
EXE_FOR_INTERNET_CHECK="ping"
URL_FOR_INTERNET_CHECK="google.com"
LXC_START_DELAY="5" # in secounds
VM_START_DELAY="45" # in secounds - for QEMU - not SSH
╔══════════════════════════════════════════════╗
║ Notification ║
╚══════════════════════════════════════════════╝
# Proxmox email user
EMAIL_USER="root"
# Proxmox email sender
EMAIL_SENDER="$USER"
# disable email during daily check
EMAIL_DAILY_CHECK="true"
# send email if no updates available
EMAIL_NO_UPDATES="false"
# send email only if security updates available
EMAIL_ONLY_SECURITY="false"
# disable email on successful run
EMAIL_ONLY_ERROR="false"
╔══════════════════════════════════════════════╗
║ UPDATER ║
╚══════════════════════════════════════════════╝
┌──────────────────────────────────────────────┐
│ Host / LXC / VM │
└──────────────────────────────────────────────┘
EXIT_ON_ERROR="false"
WITH_HOST="true"
WITH_LXC="true"
WITH_VM="true"
STOPPED_CONTAINER="true"
RUNNING_CONTAINER="true"
STOPPED_VM="true"
RUNNING_VM="true"
REBOOT_IF_NEEDED="true"
FREEBSD_UPDATES="false"
INCLUDE_PHASED_UPDATES="false"
INCLUDE_FSTRIM="false"
# This line must be set as true or false - comment out will end in true !!!
FSTRIM_WITH_MOUNTPOINT="true"
# PACMAN Variable
# for example: "env http_proxy=http://some.proxy:1234"
PACMAN_ENVIRONMENT=""
# need to debug first
INCLUDE_HELPER_SCRIPTS="true"
┌──────────────────────────────────────────────┐
│ Only/Exclude LXC and/or VM │
│ also used for dist-upgrade │
│ - Usage see in readme - │
│ ! If 'ONLY' is set, 'EXCLUDE' did not work ! │
└──────────────────────────────────────────────┘
ONLY=""
EXCLUDE=""
┌──────────────────────────────────────────────┐
│ Snapshot / Backup │
│ Backup need much more time for the script! │
│ Better make Backups at night with the UI │
└──────────────────────────────────────────────┘
SNAPSHOT="true"
KEEP_SNAPSHOTS="3"
BACKUP="false"
# On some setups, snapshot is not possible if mount points are used
# If you want to make a backup instead of a snapshot, set this to true
BACKUP_LXC_MP="true"
# Backup Mode
# Choose the mode for the backup: "stop", "suspend", or "snapshot".
# "stop" = Stops the VM/CT (Highest consistency, causes downtime). NOT compatible with HA.
# "suspend" = Suspends the VM/CT (Good consistency, minimal downtime). Compatible with HA.
# "snapshot" = Live backup (Lowest consistency, no downtime). Requires supported storage (e.g., LVM-Thin, ZFS, Ceph).
# Default: stop
BACKUP_MODE="stop"
# Proxmox storage ID for full VM/LXC backups.
# Find valid backup storages with: pvesm status -content backup
# Example: BACKUP_STORAGE="pbs"
# Leave empty to select the first active backup storage automatically.
BACKUP_STORAGE=""
┌──────────────────────────────────────────────┐
│ Extra Updates │
├──────────────────────────────────────────────┤
│ if GLOBAL is not "true" │
│ Extras will be ignored │
└──────────────────────────────────────────────┘
EXTRA_GLOBAL="true"
IN_HEADLESS_MODE="false"
PIHOLE="true"
IOBROKER="true"
PTERODACTYL="true"
OCTOPRINT="true"
DOCKER_COMPOSE="true"
UNIFI="true"
COMPOSE_PATH="/home" # Default is /home but it can be changed to (ex: /root, /opt, ...)
╔══════════════════════════════════════════════╗
║ Update-Checker for Welcome Screen ║
╚══════════════════════════════════════════════╝
┌──────────────────────────────────────────────┐
│ Host / LXC / VM │
└──────────────────────────────────────────────┘
CHECK_WITH_HOST="true"
CHECK_WITH_LXC="true"
CHECK_WITH_VM="true"
CHECK_STOPPED_CONTAINER="true"
CHECK_RUNNING_CONTAINER="true"
CHECK_STOPPED_VM="true"
CHECK_PAUSED_VM="true"
CHECK_RUNNING_VM="true"
┌──────────────────────────────────────────────┐
│ Only/Exclude LXC and/or VM │
│ - Usage see in readme - │
│ ! If 'ONLY' is set, 'EXCLUDE' did not work ! │
└──────────────────────────────────────────────┘
ONLY_UPDATE_CHECK=""
EXCLUDE_UPDATE_CHECK=""