mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-06-16 23:08:26 +00:00
update 1.2.2.2 beta
This commit is contained in:
@@ -1040,6 +1040,7 @@ switch_to_vm_mode() {
|
||||
if [[ "$HOST_CONFIG_CHANGED" == "true" ]]; then
|
||||
msg_info "$(translate 'Updating initramfs (this may take a minute)...')"
|
||||
update-initramfs -u -k all >>"$LOG_FILE" 2>&1
|
||||
proxmox-boot-tool refresh >>"$LOG_FILE" 2>&1 || true
|
||||
msg_ok "$(translate 'initramfs updated')" | tee -a "$screen_capture"
|
||||
fi
|
||||
}
|
||||
@@ -1111,6 +1112,7 @@ switch_to_lxc_mode() {
|
||||
if [[ "$HOST_CONFIG_CHANGED" == "true" ]]; then
|
||||
msg_info "$(translate 'Updating initramfs (this may take a minute)...')"
|
||||
update-initramfs -u -k all >>"$LOG_FILE" 2>&1
|
||||
proxmox-boot-tool refresh >>"$LOG_FILE" 2>&1 || true
|
||||
msg_ok "$(translate 'initramfs updated')" | tee -a "$screen_capture"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user