summaryrefslogtreecommitdiff
path: root/ironic/drivers/modules/pxe_grub_config.template
blob: 3bcdf55d65c52dd131ea0b5f3c02c3e8c771375a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
set default=deploy
set timeout=5
set hidden_timeout_quiet=false

menuentry "deploy"  {
    linuxefi {{ pxe_options.deployment_aki_path }} selinux=0 troubleshoot=0 text {{ pxe_options.pxe_append_params|default("", true) }} boot_server={{pxe_options.tftp_server}}
    initrdefi {{ pxe_options.deployment_ari_path }}
}

menuentry "boot_ramdisk"  {
    linuxefi {{ pxe_options.aki_path }} root=/dev/ram0 text {{ pxe_options.pxe_append_params|default("", true) }} {{ pxe_options.ramdisk_opts|default('', true) }}
    initrdefi {{ pxe_options.ari_path }}
}

menuentry "boot_whole_disk"  {
    linuxefi chain.c32 mbr:{{ DISK_IDENTIFIER }}
}

menuentry "boot_anaconda" {
     linuxefi {{ pxe_options.aki_path }} text {{ pxe_options.pxe_append_params|default("", true) }} inst.ks={{ pxe_options.ks_cfg_url }} {% if pxe_options.repo_url %}inst.repo={{ pxe_options.repo_url }}{% else %}inst.stage2={{ pxe_options.stage2_url }}{% endif %}
     initrdefi {{ pxe_options.ari_path }}
}