logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cdist-type__install_bootloader_grub - install grub2 bootloader on given disk

Authors

Steven Armstrong <steven-cdist--@--armstrong.cc>

Copying

Copyright (C) 2011 Steven Armstrong. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Description

This cdist type allows you to install grub2 bootloader on given disk.

Examples

__install_bootloader_grub /dev/sda __install_bootloader_grub /dev/sda --chroot /mnt/foobar

Name

cdist-type__install_bootloader_grub - install grub2 bootloader on given disk

Optional Parameters

device The device to install grub to. Defaults to object_id chroot where to chroot before running grub-install. Defaults to /target.

Required Parameters

None

See Also