You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: misc/build.func
+25-15Lines changed: 25 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ color() {
36
36
INFO="${TAB}💡${TAB}${CL}"
37
37
OS="${TAB}🖥️${TAB}${CL}"
38
38
OSVERSION="${TAB}🌟${TAB}${CL}"
39
-
CONTAINERTYPE="${TAB}📦${TAB}${CL}"
39
+
CONTAINERTYPE="${TAB}📦${TAB}${CL}"
40
40
DISKSIZE="${TAB}💾${TAB}${CL}"
41
41
CPUCORE="${TAB}🧠${TAB}${CL}"
42
42
RAMSIZE="${TAB}🛠️${TAB}${CL}"
@@ -283,16 +283,17 @@ base_settings() {
283
283
MAC=""
284
284
VLAN=""
285
285
SSH="no"
286
+
SSH_AUTHORIZED_KEY=""
286
287
TAGS="community-script;"
287
-
288
+
288
289
# Override default settings with variables from ct script
289
290
CT_TYPE=${var_unprivileged:-$CT_TYPE}
290
291
DISK_SIZE=${var_disk:-$DISK_SIZE}
291
292
CORE_COUNT=${var_cpu:-$CORE_COUNT}
292
293
RAM_SIZE=${var_ram:-$RAM_SIZE}
293
294
VERB=${var_verbose:-$VERBOSE}
294
295
TAGS="${TAGS}${var_tags:-}"
295
-
296
+
296
297
# Since these 2 are only defined outside of default_settings function, we add a temporary fallback. TODO: To align everything, we should add these as constant variables (e.g. OSTYPE and OSVERSION), but that would currently require updating the default_settings function for all existing scripts
if DISK_SIZE=$(whiptail --backtitle "Proxmox VE Helper Scripts" --inputbox "Set Disk Size in GB" 8 58 $var_disk --title "DISK SIZE" 3>&1 1>&2 2>&3); then
0 commit comments