Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
f98bf8d4bd | ||
|
d77d43d9c0 | ||
|
1258eb90b3 | ||
|
b1f94095fc | ||
|
1f71f637d8 | ||
|
afb37f08f6 |
@ -815,6 +815,7 @@ __PACKAGE__->register_method({
|
||||
check => ['perm', '/nodes/{node}', [ 'Sys.Syslog' ]],
|
||||
},
|
||||
protected => 1,
|
||||
download => 1,
|
||||
parameters => {
|
||||
additionalProperties => 0,
|
||||
properties => {
|
||||
|
@ -327,6 +327,7 @@ __PACKAGE__->register_method({
|
||||
user => 'all',
|
||||
},
|
||||
protected => 1,
|
||||
download => 1,
|
||||
description => "Read task log.",
|
||||
proxyto => 'node',
|
||||
parameters => {
|
||||
|
@ -1302,29 +1302,36 @@ sub check_time_sync {
|
||||
|
||||
sub check_bootloader {
|
||||
log_info("Checking bootloader configuration...");
|
||||
if (!$upgraded) {
|
||||
log_skip("not yet upgraded, no need to check the presence of systemd-boot");
|
||||
|
||||
if (! -d '/sys/firmware/efi') {
|
||||
log_skip("System booted in legacy-mode - no need for additional packages");
|
||||
return;
|
||||
}
|
||||
|
||||
if (! -f "/etc/kernel/proxmox-boot-uuids") {
|
||||
log_skip("proxmox-boot-tool not used for bootloader configuration");
|
||||
return;
|
||||
}
|
||||
|
||||
if (! -d "/sys/firmware/efi") {
|
||||
log_skip("System booted in legacy-mode - no need for systemd-boot");
|
||||
return;
|
||||
}
|
||||
|
||||
if ( -f "/usr/share/doc/systemd-boot/changelog.Debian.gz") {
|
||||
log_pass("systemd-boot is installed");
|
||||
} else {
|
||||
if ( -f "/etc/kernel/proxmox-boot-uuids") {
|
||||
if (!$upgraded) {
|
||||
log_skip("not yet upgraded, no need to check the presence of systemd-boot");
|
||||
return;
|
||||
}
|
||||
if ( -f "/usr/share/doc/systemd-boot/changelog.Debian.gz") {
|
||||
log_pass("bootloader packages installed correctly");
|
||||
return;
|
||||
}
|
||||
log_warn(
|
||||
"proxmox-boot-tool is used for bootloader configuration in uefi mode"
|
||||
. "but the separate systemd-boot package, existing in Debian Bookworm is not installed"
|
||||
. "initializing new ESPs will not work until the package is installed"
|
||||
. " but the separate systemd-boot package is not installed,"
|
||||
. " initializing new ESPs will not work until the package is installed"
|
||||
);
|
||||
return;
|
||||
} elsif ( ! -f "/usr/share/doc/grub-efi-amd64/changelog.Debian.gz" ) {
|
||||
log_warn(
|
||||
"System booted in uefi mode but grub-efi-amd64 meta-package not installed,"
|
||||
. " new grub versions will not be installed to /boot/efi!"
|
||||
. " Install grub-efi-amd64."
|
||||
);
|
||||
return;
|
||||
} else {
|
||||
log_pass("bootloader packages installed correctly");
|
||||
}
|
||||
}
|
||||
|
||||
|
14
debian/changelog
vendored
14
debian/changelog
vendored
@ -1,3 +1,17 @@
|
||||
pve-manager (7.4-19) bullseye; urgency=medium
|
||||
|
||||
* api: annotate download endpoints
|
||||
|
||||
-- Proxmox Support Team <support@proxmox.com> Fri, 20 Sep 2024 13:19:44 +0200
|
||||
|
||||
pve-manager (7.4-18) bullseye; urgency=medium
|
||||
|
||||
* pve7to8: check for proper grub meta-package for bootmode
|
||||
|
||||
* ui: add notice for the nearing Proxmox VE 7 End-of-Life on 2024-07-31
|
||||
|
||||
-- Proxmox Support Team <support@proxmox.com> Tue, 16 Apr 2024 13:16:13 +0200
|
||||
|
||||
pve-manager (7.4-17) bullseye; urgency=medium
|
||||
|
||||
* pve7to8:
|
||||
|
2
debian/control
vendored
2
debian/control
vendored
@ -60,7 +60,7 @@ Depends: apt (>= 1.5~),
|
||||
libpve-cluster-perl (>= 7.2-3),
|
||||
libpve-common-perl (>= 7.2-7),
|
||||
libpve-guest-common-perl (>= 4.2-1),
|
||||
libpve-http-server-perl (>= 4.1-1),
|
||||
libpve-http-server-perl (>= 4.3~),
|
||||
libpve-rs-perl (>= 0.7.1),
|
||||
libpve-storage-perl (>= 7.2-12),
|
||||
librados2-perl (>= 1.3-1),
|
||||
|
@ -342,6 +342,16 @@ Ext.define('PVE.StdWorkspace', {
|
||||
{
|
||||
flex: 1,
|
||||
},
|
||||
{
|
||||
xtype: 'proxmoxEOLNotice',
|
||||
product: 'Proxmox VE',
|
||||
version: '7',
|
||||
eolDate: '2024-07-31',
|
||||
href: 'pve.proxmox.com/wiki/FAQ#faq-support-table',
|
||||
},
|
||||
{
|
||||
flex: 1,
|
||||
},
|
||||
{
|
||||
xtype: 'proxmoxHelpButton',
|
||||
hidden: false,
|
||||
|
Loading…
Reference in New Issue
Block a user