From: "Fabian Grünbichler" <f.gruenbichler@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH proxmox-ve] add grub.d snippet
Date: Thu, 24 Jun 2021 12:57:22 +0200 [thread overview]
Message-ID: <20210624105722.1844748-1-f.gruenbichler@proxmox.com> (raw)
to set distributor and disable os-prober. this allows us to drop grub
cfg handling from the installer except for the ZFS on / use case.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
---
Notes:
adding the root=ZFS=.. boot=zfs to the kernel cmdline could also be done in the
installer with a snippet - by referencing $GRUB_DEFAULT_CMDLINE, like
kdump-tools does:
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT other-options.."
debian/grub/proxmox-ve.cfg | 2 ++
debian/proxmox-ve.install | 1 +
2 files changed, 3 insertions(+)
create mode 100644 debian/grub/proxmox-ve.cfg
diff --git a/debian/grub/proxmox-ve.cfg b/debian/grub/proxmox-ve.cfg
new file mode 100644
index 0000000..d10da36
--- /dev/null
+++ b/debian/grub/proxmox-ve.cfg
@@ -0,0 +1,2 @@
+GRUB_DISTRIBUTOR="Proxmox VE"
+GRUB_DISABLE_OS_PROBER=true
diff --git a/debian/proxmox-ve.install b/debian/proxmox-ve.install
index 5780d2a..406f575 100644
--- a/debian/proxmox-ve.install
+++ b/debian/proxmox-ve.install
@@ -1,2 +1,3 @@
debian/apthook/10pveapthook etc/apt/apt.conf.d/
debian/apthook/pve-apt-hook usr/share/proxmox-ve/
+debian/grub/proxmox-ve.cfg etc/default/grub.d/
--
2.30.2
next reply other threads:[~2021-06-24 10:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-24 10:57 Fabian Grünbichler [this message]
2021-06-24 11:10 ` [pve-devel] applied: " Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210624105722.1844748-1-f.gruenbichler@proxmox.com \
--to=f.gruenbichler@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox