]> git.proxmox.com Git - pve-kernel-meta.git/commitdiff
pve-efiboot-tool: initialize in mount namespace
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 11 Jul 2019 09:22:51 +0000 (11:22 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 11 Jul 2019 16:27:06 +0000 (18:27 +0200)
by re-executing the whole 'pve-efiboot-tool init' command inside a new mount namespace

Co-Developed-By: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
bin/pve-efiboot-tool

index 6bbf6796dc22703b4020a7340457403e5000a269..abaaf00b038d50537ce8828d278342c1976d2e09 100755 (executable)
@@ -189,6 +189,7 @@ case "$1" in
                exit 0
        ;;
        'init')
+               reexec_in_mountns "$@"
                shift
                if [ -z "$1"  ]; then
                        warn "E: <partition> is mandatory."