]> git.proxmox.com Git - pve-installer.git/blobdiff - proxinstall
update default grub settings
[pve-installer.git] / proxinstall
index e0bceae1f207977f961d2c6990df3b4074c102b4..8348c042f16989613626e2bf3d4089b258590f99 100755 (executable)
@@ -885,6 +885,9 @@ _EOD
 
        update_progress (0.8, 0.95, 1, "make system bootable");
 
+       # update default grub settings
+       syscmd ("sed -e 's/^GRUB_DISTRIBUTOR.*/GRUB_DISTRIBUTOR=\"Proxmox Virtual Environment\"/' -e 's/#GRUB_DISABLE_LINUX_RECOVERY=.*/GRUB_DISABLE_LINUX_RECOVERY=\"true\"/' /etc/default/grub");
+
        diversion_remove ($targetdir, "/usr/sbin/update-grub");
        diversion_remove ($targetdir, "/usr/sbin/update-initramfs");