)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"62a7efdb07fbc3976e656b1364c562f6487e4aa2","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     ankit \u003cankit.dhn31@gmail.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2017-04-11 09:33:57 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Adding Bootloader in ironic devstack plugin"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This commit add bootloader in order to boot"},{"line_number":10,"context_line":"in UEFI mode and also enable Secure Boot feature."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"bff0334d_5ef514ec","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":43},"updated":"2017-04-11 10:14:50.000000000","message":"May be:\nAdding grub2 bootloader support to devstack plugin","commit_id":"002889aa621ccfaf9937ae12fa9a128505bebc16"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"d65b5158969affa30102ec5981f3405aa510ae78","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     ankit \u003cankit.dhn31@gmail.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2017-04-11 09:33:57 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Adding Bootloader in ironic devstack plugin"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This commit add bootloader in order to boot"},{"line_number":10,"context_line":"in UEFI mode and also enable Secure Boot feature."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"bff0334d_4b91b4f0","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":43},"in_reply_to":"bff0334d_5ef514ec","updated":"2017-04-12 07:18:29.000000000","message":"Done","commit_id":"002889aa621ccfaf9937ae12fa9a128505bebc16"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"62a7efdb07fbc3976e656b1364c562f6487e4aa2","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Adding Bootloader in ironic devstack plugin"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This commit add bootloader in order to boot"},{"line_number":10,"context_line":"in UEFI mode and also enable Secure Boot feature."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I36a50656a52870121eda099f396523c46b7cb1aa"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"bff0334d_fed748ed","line":10,"range":{"start_line":9,"start_character":0,"end_line":10,"end_character":49},"updated":"2017-04-11 10:14:50.000000000","message":"This commit enables support for grub2 bootloader for UEFI. It also enables UEFI Secure Boot based provisioning in devstack plugin.","commit_id":"002889aa621ccfaf9937ae12fa9a128505bebc16"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"d65b5158969affa30102ec5981f3405aa510ae78","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Adding Bootloader in ironic devstack plugin"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This commit add bootloader in order to boot"},{"line_number":10,"context_line":"in UEFI mode and also enable Secure Boot feature."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I36a50656a52870121eda099f396523c46b7cb1aa"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"bff0334d_2b8c30d5","line":10,"range":{"start_line":9,"start_character":0,"end_line":10,"end_character":49},"in_reply_to":"bff0334d_fed748ed","updated":"2017-04-12 07:18:29.000000000","message":"Done","commit_id":"002889aa621ccfaf9937ae12fa9a128505bebc16"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"f763b1fcee39403b6c4d45396c44f9ec9610fbcf","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Adding grub2 bootloader support to devstack plugin"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This commit enables support for grub2 bootloader for UEFI."},{"line_number":10,"context_line":"It also enables UEFI Secure Boot based provisioning in devstack plugin."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I36a50656a52870121eda099f396523c46b7cb1aa"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":24,"id":"bf659307_3310434e","line":10,"updated":"2018-04-03 18:01:25.000000000","message":"I guess I\u0027m lacking an understanding of why? Why is this needed in devstack? where will it be used? etc?","commit_id":"0f441ab5ba8e995888ea73c53e02f1a437cd0a12"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"f763b1fcee39403b6c4d45396c44f9ec9610fbcf","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This commit enables support for grub2 bootloader for UEFI."},{"line_number":10,"context_line":"It also enables UEFI Secure Boot based provisioning in devstack plugin."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I36a50656a52870121eda099f396523c46b7cb1aa"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":24,"id":"bf659307_2101d006","line":11,"updated":"2018-04-03 18:01:25.000000000","message":"Is there a story or task in storyboard?","commit_id":"0f441ab5ba8e995888ea73c53e02f1a437cd0a12"}],"devstack/lib/ironic":[{"author":{"_account_id":11297,"name":"Nisha Agarwal","email":"agarwalnisha1980@gmail.com","username":"Nisha"},"change_message_id":"312ce660912ef493897767481a779b7aa1cd0def","unresolved":false,"context_lines":[{"line_number":1654,"context_line":""},{"line_number":1655,"context_line":"            if [[ \"$IRONIC_BOOT_MODE\" \u003d\u003d \"uefi\" ]]; then"},{"line_number":1656,"context_line":"                openstack flavor set baremetal --property \"capabilities:boot_mode\"\u003d\"uefi\""},{"line_number":1657,"context_line":"                if [[ \"$SECURE_BOOT\" \u003d\u003d \"True\" ]]; then"},{"line_number":1658,"context_line":"                    openstack flavor set baremetal --property \"capabilities:secure_boot\"\u003d\"true\""},{"line_number":1659,"context_line":"                fi"},{"line_number":1660,"context_line":"            fi"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"bff0334d_b67dfc1d","line":1657,"range":{"start_line":1657,"start_character":24,"end_line":1657,"end_character":34},"updated":"2017-04-06 08:29:25.000000000","message":"you need to define the variable above in the file and its default value also.","commit_id":"cf433f5dce8af0fcb70fe8915b358d497218dae7"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"b429a80f02cd1d1520b6b88936fba37623412a58","unresolved":false,"context_lines":[{"line_number":1654,"context_line":""},{"line_number":1655,"context_line":"            if [[ \"$IRONIC_BOOT_MODE\" \u003d\u003d \"uefi\" ]]; then"},{"line_number":1656,"context_line":"                openstack flavor set baremetal --property \"capabilities:boot_mode\"\u003d\"uefi\""},{"line_number":1657,"context_line":"                if [[ \"$SECURE_BOOT\" \u003d\u003d \"True\" ]]; then"},{"line_number":1658,"context_line":"                    openstack flavor set baremetal --property \"capabilities:secure_boot\"\u003d\"true\""},{"line_number":1659,"context_line":"                fi"},{"line_number":1660,"context_line":"            fi"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"bff0334d_2dcf33b1","line":1657,"range":{"start_line":1657,"start_character":24,"end_line":1657,"end_character":34},"in_reply_to":"bff0334d_b67dfc1d","updated":"2017-04-07 04:19:56.000000000","message":"Done","commit_id":"cf433f5dce8af0fcb70fe8915b358d497218dae7"},{"author":{"_account_id":11297,"name":"Nisha Agarwal","email":"agarwalnisha1980@gmail.com","username":"Nisha"},"change_message_id":"ee162b650796adbebf48fd6c8d19570b7beb5b35","unresolved":false,"context_lines":[{"line_number":445,"context_line":"            local grub_distro"},{"line_number":446,"context_line":"            local grub_dir"},{"line_number":447,"context_line":""},{"line_number":448,"context_line":"            ironic_tftpboot_path\u003d/opt/stack/data/ironic/tftpboot"},{"line_number":449,"context_line":"            ironic_map_file\u003d$ironic_tftpboot_path/map-file"},{"line_number":450,"context_line":"            echo -e \"re ^(/opt/stack/data/ironic/tftpboot/) /opt/stack/data/ironic/tftpboot/\\2\"\\"},{"line_number":451,"context_line":"                    \"\\nre ^/opt/stack/data/ironic/tftpboot/ /opt/stack/data/ironic/tftpboot/\"\\"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"bff0334d_fe69efbd","line":448,"range":{"start_line":448,"start_character":12,"end_line":448,"end_character":31},"updated":"2017-04-07 06:23:50.000000000","message":"This is a common variable in the file as IRONIC_TFTPBOOT_DIR","commit_id":"75937387a9753ec72f65b53a304dc559080c15ca"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"64b312cfc1f3f63c49104c8fb981531075f15bb1","unresolved":false,"context_lines":[{"line_number":445,"context_line":"            local grub_distro"},{"line_number":446,"context_line":"            local grub_dir"},{"line_number":447,"context_line":""},{"line_number":448,"context_line":"            ironic_tftpboot_path\u003d/opt/stack/data/ironic/tftpboot"},{"line_number":449,"context_line":"            ironic_map_file\u003d$ironic_tftpboot_path/map-file"},{"line_number":450,"context_line":"            echo -e \"re ^(/opt/stack/data/ironic/tftpboot/) /opt/stack/data/ironic/tftpboot/\\2\"\\"},{"line_number":451,"context_line":"                    \"\\nre ^/opt/stack/data/ironic/tftpboot/ /opt/stack/data/ironic/tftpboot/\"\\"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"bff0334d_e4c0407f","line":448,"range":{"start_line":448,"start_character":12,"end_line":448,"end_character":31},"in_reply_to":"bff0334d_fe69efbd","updated":"2017-04-07 08:11:12.000000000","message":"Done","commit_id":"75937387a9753ec72f65b53a304dc559080c15ca"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"91a9ab76f05881388380c96518780b8080db47dc","unresolved":false,"context_lines":[{"line_number":447,"context_line":""},{"line_number":448,"context_line":"            ironic_tftpboot_path\u003d/opt/stack/data/ironic/tftpboot"},{"line_number":449,"context_line":"            ironic_map_file\u003d$ironic_tftpboot_path/map-file"},{"line_number":450,"context_line":"            echo -e \"re ^(/opt/stack/data/ironic/tftpboot/) /opt/stack/data/ironic/tftpboot/\\2\"\\"},{"line_number":451,"context_line":"                    \"\\nre ^/opt/stack/data/ironic/tftpboot/ /opt/stack/data/ironic/tftpboot/\"\\"},{"line_number":452,"context_line":"                    \"\\nre ^(^/) /opt/stack/data/ironic/tftpboot/\\1\"\\"},{"line_number":453,"context_line":"                    \"\\nre ^([^/]) /opt/stack/data/ironic/tftpboot/\\1\" \u003e $ironic_map_file"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"bff0334d_826aa87d","line":450,"range":{"start_line":450,"start_character":60,"end_line":450,"end_character":91},"updated":"2017-04-06 13:15:17.000000000","message":"We really shouldn\u0027t have a hardcoded path in here for this, it should be a variable.","commit_id":"75937387a9753ec72f65b53a304dc559080c15ca"},{"author":{"_account_id":11297,"name":"Nisha Agarwal","email":"agarwalnisha1980@gmail.com","username":"Nisha"},"change_message_id":"ee162b650796adbebf48fd6c8d19570b7beb5b35","unresolved":false,"context_lines":[{"line_number":447,"context_line":""},{"line_number":448,"context_line":"            ironic_tftpboot_path\u003d/opt/stack/data/ironic/tftpboot"},{"line_number":449,"context_line":"            ironic_map_file\u003d$ironic_tftpboot_path/map-file"},{"line_number":450,"context_line":"            echo -e \"re ^(/opt/stack/data/ironic/tftpboot/) /opt/stack/data/ironic/tftpboot/\\2\"\\"},{"line_number":451,"context_line":"                    \"\\nre ^/opt/stack/data/ironic/tftpboot/ /opt/stack/data/ironic/tftpboot/\"\\"},{"line_number":452,"context_line":"                    \"\\nre ^(^/) /opt/stack/data/ironic/tftpboot/\\1\"\\"},{"line_number":453,"context_line":"                    \"\\nre ^([^/]) /opt/stack/data/ironic/tftpboot/\\1\" \u003e $ironic_map_file"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"bff0334d_f3fec836","line":450,"range":{"start_line":450,"start_character":60,"end_line":450,"end_character":91},"in_reply_to":"bff0334d_826aa87d","updated":"2017-04-07 06:23:50.000000000","message":"+1 to what Julia said","commit_id":"75937387a9753ec72f65b53a304dc559080c15ca"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"64b312cfc1f3f63c49104c8fb981531075f15bb1","unresolved":false,"context_lines":[{"line_number":447,"context_line":""},{"line_number":448,"context_line":"            ironic_tftpboot_path\u003d/opt/stack/data/ironic/tftpboot"},{"line_number":449,"context_line":"            ironic_map_file\u003d$ironic_tftpboot_path/map-file"},{"line_number":450,"context_line":"            echo -e \"re ^(/opt/stack/data/ironic/tftpboot/) /opt/stack/data/ironic/tftpboot/\\2\"\\"},{"line_number":451,"context_line":"                    \"\\nre ^/opt/stack/data/ironic/tftpboot/ /opt/stack/data/ironic/tftpboot/\"\\"},{"line_number":452,"context_line":"                    \"\\nre ^(^/) /opt/stack/data/ironic/tftpboot/\\1\"\\"},{"line_number":453,"context_line":"                    \"\\nre ^([^/]) /opt/stack/data/ironic/tftpboot/\\1\" \u003e $ironic_map_file"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"bff0334d_a4ba3807","line":450,"range":{"start_line":450,"start_character":60,"end_line":450,"end_character":91},"in_reply_to":"bff0334d_826aa87d","updated":"2017-04-07 08:11:12.000000000","message":"Done","commit_id":"75937387a9753ec72f65b53a304dc559080c15ca"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"64b312cfc1f3f63c49104c8fb981531075f15bb1","unresolved":false,"context_lines":[{"line_number":447,"context_line":""},{"line_number":448,"context_line":"            ironic_tftpboot_path\u003d/opt/stack/data/ironic/tftpboot"},{"line_number":449,"context_line":"            ironic_map_file\u003d$ironic_tftpboot_path/map-file"},{"line_number":450,"context_line":"            echo -e \"re ^(/opt/stack/data/ironic/tftpboot/) /opt/stack/data/ironic/tftpboot/\\2\"\\"},{"line_number":451,"context_line":"                    \"\\nre ^/opt/stack/data/ironic/tftpboot/ /opt/stack/data/ironic/tftpboot/\"\\"},{"line_number":452,"context_line":"                    \"\\nre ^(^/) /opt/stack/data/ironic/tftpboot/\\1\"\\"},{"line_number":453,"context_line":"                    \"\\nre ^([^/]) /opt/stack/data/ironic/tftpboot/\\1\" \u003e $ironic_map_file"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"bff0334d_843734b1","line":450,"range":{"start_line":450,"start_character":60,"end_line":450,"end_character":91},"in_reply_to":"bff0334d_f3fec836","updated":"2017-04-07 08:11:12.000000000","message":"Done","commit_id":"75937387a9753ec72f65b53a304dc559080c15ca"},{"author":{"_account_id":11297,"name":"Nisha Agarwal","email":"agarwalnisha1980@gmail.com","username":"Nisha"},"change_message_id":"ee162b650796adbebf48fd6c8d19570b7beb5b35","unresolved":false,"context_lines":[{"line_number":452,"context_line":"                    \"\\nre ^(^/) /opt/stack/data/ironic/tftpboot/\\1\"\\"},{"line_number":453,"context_line":"                    \"\\nre ^([^/]) /opt/stack/data/ironic/tftpboot/\\1\" \u003e $ironic_map_file"},{"line_number":454,"context_line":""},{"line_number":455,"context_line":"            grub_distro\u003d\"ubuntu\""},{"line_number":456,"context_line":"            if [[ \"$IRONIC_IPA_RAMDISK_DISTRO\" \u003d \"fedora\" ]]; then"},{"line_number":457,"context_line":"                grub_distro\u003d\"fedora\""},{"line_number":458,"context_line":"            elif ([[ \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\" \u003d \"ubuntu-signed\" ]] ||"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"bff0334d_1eaed397","line":455,"range":{"start_line":455,"start_character":12,"end_line":455,"end_character":23},"updated":"2017-04-07 06:23:50.000000000","message":"define it at the top of the file and define the default value there.","commit_id":"75937387a9753ec72f65b53a304dc559080c15ca"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"64b312cfc1f3f63c49104c8fb981531075f15bb1","unresolved":false,"context_lines":[{"line_number":452,"context_line":"                    \"\\nre ^(^/) /opt/stack/data/ironic/tftpboot/\\1\"\\"},{"line_number":453,"context_line":"                    \"\\nre ^([^/]) /opt/stack/data/ironic/tftpboot/\\1\" \u003e $ironic_map_file"},{"line_number":454,"context_line":""},{"line_number":455,"context_line":"            grub_distro\u003d\"ubuntu\""},{"line_number":456,"context_line":"            if [[ \"$IRONIC_IPA_RAMDISK_DISTRO\" \u003d \"fedora\" ]]; then"},{"line_number":457,"context_line":"                grub_distro\u003d\"fedora\""},{"line_number":458,"context_line":"            elif ([[ \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\" \u003d \"ubuntu-signed\" ]] ||"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"bff0334d_247068dc","line":455,"range":{"start_line":455,"start_character":12,"end_line":455,"end_character":23},"in_reply_to":"bff0334d_1eaed397","updated":"2017-04-07 08:11:12.000000000","message":"Done","commit_id":"75937387a9753ec72f65b53a304dc559080c15ca"},{"author":{"_account_id":11297,"name":"Nisha Agarwal","email":"agarwalnisha1980@gmail.com","username":"Nisha"},"change_message_id":"ee162b650796adbebf48fd6c8d19570b7beb5b35","unresolved":false,"context_lines":[{"line_number":454,"context_line":""},{"line_number":455,"context_line":"            grub_distro\u003d\"ubuntu\""},{"line_number":456,"context_line":"            if [[ \"$IRONIC_IPA_RAMDISK_DISTRO\" \u003d \"fedora\" ]]; then"},{"line_number":457,"context_line":"                grub_distro\u003d\"fedora\""},{"line_number":458,"context_line":"            elif ([[ \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\" \u003d \"ubuntu-signed\" ]] ||"},{"line_number":459,"context_line":"                [[ \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\" \u003d \"ubuntu\" ]] ); then"},{"line_number":460,"context_line":"                grub_distro\u003d\"ubuntu\""}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"bff0334d_1eea53ab","line":457,"range":{"start_line":457,"start_character":16,"end_line":457,"end_character":26},"updated":"2017-04-07 06:23:50.000000000","message":"it would be better to define a function and decide the grub_distro in that based on IRONIC_IPA_RAMDISK_DISTRO","commit_id":"75937387a9753ec72f65b53a304dc559080c15ca"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"64b312cfc1f3f63c49104c8fb981531075f15bb1","unresolved":false,"context_lines":[{"line_number":454,"context_line":""},{"line_number":455,"context_line":"            grub_distro\u003d\"ubuntu\""},{"line_number":456,"context_line":"            if [[ \"$IRONIC_IPA_RAMDISK_DISTRO\" \u003d \"fedora\" ]]; then"},{"line_number":457,"context_line":"                grub_distro\u003d\"fedora\""},{"line_number":458,"context_line":"            elif ([[ \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\" \u003d \"ubuntu-signed\" ]] ||"},{"line_number":459,"context_line":"                [[ \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\" \u003d \"ubuntu\" ]] ); then"},{"line_number":460,"context_line":"                grub_distro\u003d\"ubuntu\""}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"bff0334d_dfd505b9","line":457,"range":{"start_line":457,"start_character":16,"end_line":457,"end_character":26},"in_reply_to":"bff0334d_1eea53ab","updated":"2017-04-07 08:11:12.000000000","message":"Done","commit_id":"75937387a9753ec72f65b53a304dc559080c15ca"},{"author":{"_account_id":11297,"name":"Nisha Agarwal","email":"agarwalnisha1980@gmail.com","username":"Nisha"},"change_message_id":"ee162b650796adbebf48fd6c8d19570b7beb5b35","unresolved":false,"context_lines":[{"line_number":469,"context_line":"                grub_dir\u003d$ironic_tftpboot_path/grub"},{"line_number":470,"context_line":"            fi"},{"line_number":471,"context_line":"            mkdir -p $grub_dir"},{"line_number":472,"context_line":"            echo -e \"set default\u003dmaster\\nset timeout\u003d5\\nset hidden_timeout_quiet\u003dfalse\\n\\nmenuentry \"master\"   {\" \\"},{"line_number":473,"context_line":"                    \"\\n\\nconfigfile /opt/stack/data/ironic/tftpboot/$net_default_ip.conf\\n}\" \u003e $grub_dir/grub.cfg"},{"line_number":474,"context_line":""},{"line_number":475,"context_line":"            chmod 644 $grub_dir/grub.cfg"},{"line_number":476,"context_line":""},{"line_number":477,"context_line":"            sed -i -e \u0027/uefi_pxe_config_template/c\\uefi_pxe_config_template\u003d$pybasedir/drivers/modules/pxe_grub_config.template\u0027 \\"},{"line_number":478,"context_line":"                   -e \u0027/uefi_pxe_bootfile_name/c\\uefi_pxe_bootfile_name\u003dbootx64.efi\u0027 /etc/ironic/ironic.conf"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"bff0334d_1e1133ad","line":475,"range":{"start_line":472,"start_character":12,"end_line":475,"end_character":40},"updated":"2017-04-07 06:23:50.000000000","message":"this can be a seperate function if grub is being used","commit_id":"75937387a9753ec72f65b53a304dc559080c15ca"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"64b312cfc1f3f63c49104c8fb981531075f15bb1","unresolved":false,"context_lines":[{"line_number":469,"context_line":"                grub_dir\u003d$ironic_tftpboot_path/grub"},{"line_number":470,"context_line":"            fi"},{"line_number":471,"context_line":"            mkdir -p $grub_dir"},{"line_number":472,"context_line":"            echo -e \"set default\u003dmaster\\nset timeout\u003d5\\nset hidden_timeout_quiet\u003dfalse\\n\\nmenuentry \"master\"   {\" \\"},{"line_number":473,"context_line":"                    \"\\n\\nconfigfile /opt/stack/data/ironic/tftpboot/$net_default_ip.conf\\n}\" \u003e $grub_dir/grub.cfg"},{"line_number":474,"context_line":""},{"line_number":475,"context_line":"            chmod 644 $grub_dir/grub.cfg"},{"line_number":476,"context_line":""},{"line_number":477,"context_line":"            sed -i -e \u0027/uefi_pxe_config_template/c\\uefi_pxe_config_template\u003d$pybasedir/drivers/modules/pxe_grub_config.template\u0027 \\"},{"line_number":478,"context_line":"                   -e \u0027/uefi_pxe_bootfile_name/c\\uefi_pxe_bootfile_name\u003dbootx64.efi\u0027 /etc/ironic/ironic.conf"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"bff0334d_1f25adab","line":475,"range":{"start_line":472,"start_character":12,"end_line":475,"end_character":40},"in_reply_to":"bff0334d_1e1133ad","updated":"2017-04-07 08:11:12.000000000","message":"But we are checking here only if grub is being used or not. Then only we are proceeding with further steps.","commit_id":"75937387a9753ec72f65b53a304dc559080c15ca"},{"author":{"_account_id":11297,"name":"Nisha Agarwal","email":"agarwalnisha1980@gmail.com","username":"Nisha"},"change_message_id":"ee162b650796adbebf48fd6c8d19570b7beb5b35","unresolved":false,"context_lines":[{"line_number":1700,"context_line":"                        die \"IRONIC_IPA_RAMDISK_DISTRO and IRONIC_USER_IMAGE_PREFERRED_DISTRO should have\"\\"},{"line_number":1701,"context_line":"                            \"same value\""},{"line_number":1702,"context_line":"                    fi"},{"line_number":1703,"context_line":"                    openstack flavor set baremetal --property \"capabilities:secure_boot\"\u003d\"true\""},{"line_number":1704,"context_line":"                fi"},{"line_number":1705,"context_line":"            fi"},{"line_number":1706,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"bff0334d_9e4ae3a9","line":1703,"range":{"start_line":1703,"start_character":76,"end_line":1703,"end_character":87},"updated":"2017-04-07 06:23:50.000000000","message":"secure_boot is no where related to grub changes.i think you can add it to the patch for secure boot you have raised","commit_id":"75937387a9753ec72f65b53a304dc559080c15ca"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"64b312cfc1f3f63c49104c8fb981531075f15bb1","unresolved":false,"context_lines":[{"line_number":1700,"context_line":"                        die \"IRONIC_IPA_RAMDISK_DISTRO and IRONIC_USER_IMAGE_PREFERRED_DISTRO should have\"\\"},{"line_number":1701,"context_line":"                            \"same value\""},{"line_number":1702,"context_line":"                    fi"},{"line_number":1703,"context_line":"                    openstack flavor set baremetal --property \"capabilities:secure_boot\"\u003d\"true\""},{"line_number":1704,"context_line":"                fi"},{"line_number":1705,"context_line":"            fi"},{"line_number":1706,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"bff0334d_1fe00dfa","line":1703,"range":{"start_line":1703,"start_character":76,"end_line":1703,"end_character":87},"in_reply_to":"bff0334d_9e4ae3a9","updated":"2017-04-07 08:11:12.000000000","message":"This is the part of the same patch.","commit_id":"75937387a9753ec72f65b53a304dc559080c15ca"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"62a7efdb07fbc3976e656b1364c562f6487e4aa2","unresolved":false,"context_lines":[{"line_number":450,"context_line":"    if [[ \"$IRONIC_IPXE_ENABLED\" \u003d\u003d \"False\" ]]; then"},{"line_number":451,"context_line":"        if [[ \"$BOOT_LOADER\" \u003d\u003d \"elilo\" ]]; then"},{"line_number":452,"context_line":"            cp $IRONIC_ELILO_EFI /opt/stack/data/ironic/tftpboot"},{"line_number":453,"context_line":"        elif [[ \"$BOOT_LOADER\" \u003d\u003d \"grub2\" ]]; then"},{"line_number":454,"context_line":"            local grub_dir"},{"line_number":455,"context_line":""},{"line_number":456,"context_line":"            mkdir -p $IRONIC_TFTPBOOT_DIR"},{"line_number":457,"context_line":"            echo -e \"re ^($IRONIC_TFTPBOOT_DIR/) $IRONIC_TFTPBOOT_DIR/\\2\"\\"},{"line_number":458,"context_line":"                    \"\\nre ^$IRONIC_TFTPBOOT_DIR/ $IRONIC_TFTPBOOT_DIR/\"\\"},{"line_number":459,"context_line":"                    \"\\nre ^(^/) $IRONIC_TFTPBOOT_DIR/\\1\"\\"},{"line_number":460,"context_line":"                    \"\\nre ^([^/]) $IRONIC_TFTPBOOT_DIR/\\1\" \u003e $IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":461,"context_line":""},{"line_number":462,"context_line":"            set_grub_distro"},{"line_number":463,"context_line":"            grub_dir\u003d$IRONIC_TFTPBOOT_DIR"},{"line_number":464,"context_line":"            sudo cp $IRONIC_GRUB2_SHIM_FILE $IRONIC_TFTPBOOT_DIR/bootx64.efi"},{"line_number":465,"context_line":"            sudo cp $IRONIC_GRUB2_FILE $IRONIC_TFTPBOOT_DIR/grubx64.efi"},{"line_number":466,"context_line":"            if [[ \"$GRUB_DISTRO\" \u003d \"fedora\" ]]; then"},{"line_number":467,"context_line":"                grub_dir\u003d$IRONIC_TFTPBOOT_DIR/EFI/fedora"},{"line_number":468,"context_line":"            else"},{"line_number":469,"context_line":"                grub_dir\u003d$IRONIC_TFTPBOOT_DIR/grub"},{"line_number":470,"context_line":"            fi"},{"line_number":471,"context_line":"            mkdir -p $grub_dir"},{"line_number":472,"context_line":"            echo -e \"set default\u003dmaster\\nset timeout\u003d5\\nset hidden_timeout_quiet\u003dfalse\\n\\nmenuentry \"master\"   {\" \\"},{"line_number":473,"context_line":"                    \"\\n\\nconfigfile /opt/stack/data/ironic/tftpboot/$net_default_ip.conf\\n}\" \u003e $grub_dir/grub.cfg"},{"line_number":474,"context_line":""},{"line_number":475,"context_line":"            chmod 644 $grub_dir/grub.cfg"},{"line_number":476,"context_line":""},{"line_number":477,"context_line":"            sed -i -e \u0027/uefi_pxe_config_template/c\\uefi_pxe_config_template\u003d$pybasedir/drivers/modules/pxe_grub_config.template\u0027 \\"},{"line_number":478,"context_line":"                    -e \u0027/uefi_pxe_bootfile_name/c\\uefi_pxe_bootfile_name\u003dbootx64.efi\u0027 /etc/ironic/ironic.conf"}],"source_content_type":"application/x-shellscript","patch_set":6,"id":"bff0334d_3e237058","line":475,"range":{"start_line":453,"start_character":8,"end_line":475,"end_character":40},"updated":"2017-04-11 10:14:50.000000000","message":"This code block should move to configure_tftpd()","commit_id":"002889aa621ccfaf9937ae12fa9a128505bebc16"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"d65b5158969affa30102ec5981f3405aa510ae78","unresolved":false,"context_lines":[{"line_number":450,"context_line":"    if [[ \"$IRONIC_IPXE_ENABLED\" \u003d\u003d \"False\" ]]; then"},{"line_number":451,"context_line":"        if [[ \"$BOOT_LOADER\" \u003d\u003d \"elilo\" ]]; then"},{"line_number":452,"context_line":"            cp $IRONIC_ELILO_EFI /opt/stack/data/ironic/tftpboot"},{"line_number":453,"context_line":"        elif [[ \"$BOOT_LOADER\" \u003d\u003d \"grub2\" ]]; then"},{"line_number":454,"context_line":"            local grub_dir"},{"line_number":455,"context_line":""},{"line_number":456,"context_line":"            mkdir -p $IRONIC_TFTPBOOT_DIR"},{"line_number":457,"context_line":"            echo -e \"re ^($IRONIC_TFTPBOOT_DIR/) $IRONIC_TFTPBOOT_DIR/\\2\"\\"},{"line_number":458,"context_line":"                    \"\\nre ^$IRONIC_TFTPBOOT_DIR/ $IRONIC_TFTPBOOT_DIR/\"\\"},{"line_number":459,"context_line":"                    \"\\nre ^(^/) $IRONIC_TFTPBOOT_DIR/\\1\"\\"},{"line_number":460,"context_line":"                    \"\\nre ^([^/]) $IRONIC_TFTPBOOT_DIR/\\1\" \u003e $IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":461,"context_line":""},{"line_number":462,"context_line":"            set_grub_distro"},{"line_number":463,"context_line":"            grub_dir\u003d$IRONIC_TFTPBOOT_DIR"},{"line_number":464,"context_line":"            sudo cp $IRONIC_GRUB2_SHIM_FILE $IRONIC_TFTPBOOT_DIR/bootx64.efi"},{"line_number":465,"context_line":"            sudo cp $IRONIC_GRUB2_FILE $IRONIC_TFTPBOOT_DIR/grubx64.efi"},{"line_number":466,"context_line":"            if [[ \"$GRUB_DISTRO\" \u003d \"fedora\" ]]; then"},{"line_number":467,"context_line":"                grub_dir\u003d$IRONIC_TFTPBOOT_DIR/EFI/fedora"},{"line_number":468,"context_line":"            else"},{"line_number":469,"context_line":"                grub_dir\u003d$IRONIC_TFTPBOOT_DIR/grub"},{"line_number":470,"context_line":"            fi"},{"line_number":471,"context_line":"            mkdir -p $grub_dir"},{"line_number":472,"context_line":"            echo -e \"set default\u003dmaster\\nset timeout\u003d5\\nset hidden_timeout_quiet\u003dfalse\\n\\nmenuentry \"master\"   {\" \\"},{"line_number":473,"context_line":"                    \"\\n\\nconfigfile /opt/stack/data/ironic/tftpboot/$net_default_ip.conf\\n}\" \u003e $grub_dir/grub.cfg"},{"line_number":474,"context_line":""},{"line_number":475,"context_line":"            chmod 644 $grub_dir/grub.cfg"},{"line_number":476,"context_line":""},{"line_number":477,"context_line":"            sed -i -e \u0027/uefi_pxe_config_template/c\\uefi_pxe_config_template\u003d$pybasedir/drivers/modules/pxe_grub_config.template\u0027 \\"},{"line_number":478,"context_line":"                    -e \u0027/uefi_pxe_bootfile_name/c\\uefi_pxe_bootfile_name\u003dbootx64.efi\u0027 /etc/ironic/ironic.conf"}],"source_content_type":"application/x-shellscript","patch_set":6,"id":"bff0334d_aba04043","line":475,"range":{"start_line":453,"start_character":8,"end_line":475,"end_character":40},"in_reply_to":"bff0334d_3e237058","updated":"2017-04-12 07:18:29.000000000","message":"Done","commit_id":"002889aa621ccfaf9937ae12fa9a128505bebc16"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"62a7efdb07fbc3976e656b1364c562f6487e4aa2","unresolved":false,"context_lines":[{"line_number":474,"context_line":""},{"line_number":475,"context_line":"            chmod 644 $grub_dir/grub.cfg"},{"line_number":476,"context_line":""},{"line_number":477,"context_line":"            sed -i -e \u0027/uefi_pxe_config_template/c\\uefi_pxe_config_template\u003d$pybasedir/drivers/modules/pxe_grub_config.template\u0027 \\"},{"line_number":478,"context_line":"                    -e \u0027/uefi_pxe_bootfile_name/c\\uefi_pxe_bootfile_name\u003dbootx64.efi\u0027 /etc/ironic/ironic.conf"},{"line_number":479,"context_line":"        fi"},{"line_number":480,"context_line":"    fi"},{"line_number":481,"context_line":""},{"line_number":482,"context_line":"    if ! is_fedora \u0026\u0026 ! is_ubuntu; then"}],"source_content_type":"application/x-shellscript","patch_set":6,"id":"bff0334d_fea9887b","line":479,"range":{"start_line":477,"start_character":12,"end_line":479,"end_character":10},"updated":"2017-04-11 10:14:50.000000000","message":"It should be done using iniset\niniset $IRONIC_CONF_FILE uefi_pxe_config_template  \"$pybasedir/drivers/modules/pxe_grub_config.template\"\niniset $IRONIC_CONF_FILE uefi_pxe_bootfile_name  \"bootx64.efi\"","commit_id":"002889aa621ccfaf9937ae12fa9a128505bebc16"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"d65b5158969affa30102ec5981f3405aa510ae78","unresolved":false,"context_lines":[{"line_number":474,"context_line":""},{"line_number":475,"context_line":"            chmod 644 $grub_dir/grub.cfg"},{"line_number":476,"context_line":""},{"line_number":477,"context_line":"            sed -i -e \u0027/uefi_pxe_config_template/c\\uefi_pxe_config_template\u003d$pybasedir/drivers/modules/pxe_grub_config.template\u0027 \\"},{"line_number":478,"context_line":"                    -e \u0027/uefi_pxe_bootfile_name/c\\uefi_pxe_bootfile_name\u003dbootx64.efi\u0027 /etc/ironic/ironic.conf"},{"line_number":479,"context_line":"        fi"},{"line_number":480,"context_line":"    fi"},{"line_number":481,"context_line":""},{"line_number":482,"context_line":"    if ! is_fedora \u0026\u0026 ! is_ubuntu; then"}],"source_content_type":"application/x-shellscript","patch_set":6,"id":"bff0334d_8b8b3cc1","line":479,"range":{"start_line":477,"start_character":12,"end_line":479,"end_character":10},"in_reply_to":"bff0334d_fea9887b","updated":"2017-04-12 07:18:29.000000000","message":"Done","commit_id":"002889aa621ccfaf9937ae12fa9a128505bebc16"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"836fa0242a0a12db44b4b089010403024e984e9d","unresolved":false,"context_lines":[{"line_number":421,"context_line":"function set_grub_distro {"},{"line_number":422,"context_line":"    if [[ \"$IRONIC_IPA_RAMDISK_DISTRO\" \u003d \"fedora\" ]]; then"},{"line_number":423,"context_line":"        GRUB_DISTRO\u003d\"fedora\""},{"line_number":424,"context_line":"    elif ([[ \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\" \u003d \"ubuntu-signed\" ]] ||"},{"line_number":425,"context_line":"        [[ \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\" \u003d \"ubuntu\" ]] ); then"},{"line_number":426,"context_line":"        GRUB_DISTRO\u003d\"ubuntu\""},{"line_number":427,"context_line":"    fi"},{"line_number":428,"context_line":"}"}],"source_content_type":"application/x-shellscript","patch_set":8,"id":"bff0334d_0475daf9","line":425,"range":{"start_line":424,"start_character":4,"end_line":425,"end_character":70},"updated":"2017-04-12 08:10:28.000000000","message":"We do not have to differentiate between ubuntu-signed and ubuntu as they are more of the DIB elements and OS wise its same ubuntu.\nIn case of secure boot, one should build the IPA ramdisk using ubuntu-signed DIB element instead of ubuntu. But that should set as part of IRONIC_DIB_RAMDISK_OPTIONS.","commit_id":"c4b51cdb06e8eaa5c69a6a5e68881147d6114c33"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"836fa0242a0a12db44b4b089010403024e984e9d","unresolved":false,"context_lines":[{"line_number":448,"context_line":"# Sanity checks"},{"line_number":449,"context_line":"if [[ \"$IRONIC_BOOT_MODE\" \u003d\u003d \"uefi\" ]]; then"},{"line_number":450,"context_line":"    if [[ \"$IRONIC_IPXE_ENABLED\" \u003d\u003d \"False\" ]] \u0026\u0026 [[ \"$BOOT_LOADER\" !\u003d \"grub2\" ]]; then"},{"line_number":451,"context_line":"        die $LINENO \"Currently, Boot mode UEFI is supported either with iPXE or the boot loaders with the exception of grub2.\""},{"line_number":452,"context_line":"    fi"},{"line_number":453,"context_line":""},{"line_number":454,"context_line":"    if ! is_fedora \u0026\u0026 ! is_ubuntu; then"}],"source_content_type":"application/x-shellscript","patch_set":8,"id":"bff0334d_04ef1ae9","line":451,"range":{"start_line":451,"start_character":77,"end_line":451,"end_character":125},"updated":"2017-04-12 08:10:28.000000000","message":"May be this could be :-\ns/ \u0027or the boot loaders with the exception of grub2.\u0027 / or grub2\u0027/","commit_id":"c4b51cdb06e8eaa5c69a6a5e68881147d6114c33"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"6e69023cf302e313f7a046d0620730d3d1ccb986","unresolved":false,"context_lines":[{"line_number":419,"context_line":""},{"line_number":420,"context_line":"#set_grub_distro() - Set the GRUB_DISTRO"},{"line_number":421,"context_line":"function set_grub_distro {"},{"line_number":422,"context_line":"    if [[ \"$IRONIC_IPA_RAMDISK_DISTRO\" \u003d \"fedora\" ]]; then"},{"line_number":423,"context_line":"        GRUB_DISTRO\u003d\"fedora\""},{"line_number":424,"context_line":"    elif [[ \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\" \u003d \"ubuntu\" ]]; then"},{"line_number":425,"context_line":"        GRUB_DISTRO\u003d\"ubuntu\""}],"source_content_type":"application/x-shellscript","patch_set":10,"id":"9ff52f3f_bc305809","line":422,"range":{"start_line":422,"start_character":5,"end_line":422,"end_character":58},"updated":"2017-04-13 09:28:17.000000000","message":"GRUB_DISTRO need not depend on the IRONIC_IPA_RAMDISK_DISTRO or IRONIC_USER_IMAGE_PREFERRED_DISTRO.","commit_id":"cbb9c256a7c939e2f6cd42ea3fc5dc4e395bd2f1"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"695289725066b645bcb938f75b1487c887e22c69","unresolved":false,"context_lines":[{"line_number":419,"context_line":""},{"line_number":420,"context_line":"#set_grub_distro() - Set the GRUB_DISTRO"},{"line_number":421,"context_line":"function set_grub_distro {"},{"line_number":422,"context_line":"    if [[ \"$IRONIC_IPA_RAMDISK_DISTRO\" \u003d \"fedora\" ]]; then"},{"line_number":423,"context_line":"        GRUB_DISTRO\u003d\"fedora\""},{"line_number":424,"context_line":"    elif [[ \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\" \u003d \"ubuntu\" ]]; then"},{"line_number":425,"context_line":"        GRUB_DISTRO\u003d\"ubuntu\""}],"source_content_type":"application/x-shellscript","patch_set":10,"id":"7ffa3b31_780f5a2e","line":422,"range":{"start_line":422,"start_character":5,"end_line":422,"end_character":58},"in_reply_to":"9ff52f3f_bc305809","updated":"2017-04-17 07:59:07.000000000","message":"Done","commit_id":"cbb9c256a7c939e2f6cd42ea3fc5dc4e395bd2f1"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"6e69023cf302e313f7a046d0620730d3d1ccb986","unresolved":false,"context_lines":[{"line_number":420,"context_line":"#set_grub_distro() - Set the GRUB_DISTRO"},{"line_number":421,"context_line":"function set_grub_distro {"},{"line_number":422,"context_line":"    if [[ \"$IRONIC_IPA_RAMDISK_DISTRO\" \u003d \"fedora\" ]]; then"},{"line_number":423,"context_line":"        GRUB_DISTRO\u003d\"fedora\""},{"line_number":424,"context_line":"    elif [[ \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\" \u003d \"ubuntu\" ]]; then"},{"line_number":425,"context_line":"        GRUB_DISTRO\u003d\"ubuntu\""},{"line_number":426,"context_line":"    fi"}],"source_content_type":"application/x-shellscript","patch_set":10,"id":"9ff52f3f_dc7c3cb7","line":423,"range":{"start_line":423,"start_character":8,"end_line":423,"end_character":19},"updated":"2017-04-13 09:28:17.000000000","message":"It should be IRONIC_GRUB2_DISTRO and one should be able to set it from the local.conf.","commit_id":"cbb9c256a7c939e2f6cd42ea3fc5dc4e395bd2f1"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"695289725066b645bcb938f75b1487c887e22c69","unresolved":false,"context_lines":[{"line_number":420,"context_line":"#set_grub_distro() - Set the GRUB_DISTRO"},{"line_number":421,"context_line":"function set_grub_distro {"},{"line_number":422,"context_line":"    if [[ \"$IRONIC_IPA_RAMDISK_DISTRO\" \u003d \"fedora\" ]]; then"},{"line_number":423,"context_line":"        GRUB_DISTRO\u003d\"fedora\""},{"line_number":424,"context_line":"    elif [[ \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\" \u003d \"ubuntu\" ]]; then"},{"line_number":425,"context_line":"        GRUB_DISTRO\u003d\"ubuntu\""},{"line_number":426,"context_line":"    fi"}],"source_content_type":"application/x-shellscript","patch_set":10,"id":"7ffa3b31_3819d278","line":423,"range":{"start_line":423,"start_character":8,"end_line":423,"end_character":19},"in_reply_to":"9ff52f3f_13b5e531","updated":"2017-04-17 07:59:07.000000000","message":"Done","commit_id":"cbb9c256a7c939e2f6cd42ea3fc5dc4e395bd2f1"},{"author":{"_account_id":11878,"name":"Rushil Chugh","email":"rushil.chugh@gmail.com","username":"rushil"},"change_message_id":"704f97a05dcdbd30db36689f629cb47b0893cc99","unresolved":false,"context_lines":[{"line_number":420,"context_line":"#set_grub_distro() - Set the GRUB_DISTRO"},{"line_number":421,"context_line":"function set_grub_distro {"},{"line_number":422,"context_line":"    if [[ \"$IRONIC_IPA_RAMDISK_DISTRO\" \u003d \"fedora\" ]]; then"},{"line_number":423,"context_line":"        GRUB_DISTRO\u003d\"fedora\""},{"line_number":424,"context_line":"    elif [[ \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\" \u003d \"ubuntu\" ]]; then"},{"line_number":425,"context_line":"        GRUB_DISTRO\u003d\"ubuntu\""},{"line_number":426,"context_line":"    fi"}],"source_content_type":"application/x-shellscript","patch_set":10,"id":"9ff52f3f_13b5e531","line":423,"range":{"start_line":423,"start_character":8,"end_line":423,"end_character":19},"in_reply_to":"9ff52f3f_dc7c3cb7","updated":"2017-04-13 15:09:55.000000000","message":"+1","commit_id":"cbb9c256a7c939e2f6cd42ea3fc5dc4e395bd2f1"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"695289725066b645bcb938f75b1487c887e22c69","unresolved":false,"context_lines":[{"line_number":420,"context_line":"#set_grub_distro() - Set the GRUB_DISTRO"},{"line_number":421,"context_line":"function set_grub_distro {"},{"line_number":422,"context_line":"    if [[ \"$IRONIC_IPA_RAMDISK_DISTRO\" \u003d \"fedora\" ]]; then"},{"line_number":423,"context_line":"        GRUB_DISTRO\u003d\"fedora\""},{"line_number":424,"context_line":"    elif [[ \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\" \u003d \"ubuntu\" ]]; then"},{"line_number":425,"context_line":"        GRUB_DISTRO\u003d\"ubuntu\""},{"line_number":426,"context_line":"    fi"}],"source_content_type":"application/x-shellscript","patch_set":10,"id":"7ffa3b31_18285684","line":423,"range":{"start_line":423,"start_character":8,"end_line":423,"end_character":19},"in_reply_to":"9ff52f3f_dc7c3cb7","updated":"2017-04-17 07:59:07.000000000","message":"Done","commit_id":"cbb9c256a7c939e2f6cd42ea3fc5dc4e395bd2f1"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"6e69023cf302e313f7a046d0620730d3d1ccb986","unresolved":false,"context_lines":[{"line_number":1667,"context_line":"            if [[ \"$IRONIC_BOOT_MODE\" \u003d\u003d \"uefi\" ]]; then"},{"line_number":1668,"context_line":"                openstack flavor set baremetal --property \"capabilities:boot_mode\"\u003d\"uefi\""},{"line_number":1669,"context_line":"                if [[ \"$SECURE_BOOT\" \u003d\u003d \"True\" ]]; then"},{"line_number":1670,"context_line":"                    if [[ \"$IRONIC_IPA_RAMDISK_DISTRO\" !\u003d \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\"  ]]; then"},{"line_number":1671,"context_line":"                        die \"IRONIC_IPA_RAMDISK_DISTRO and IRONIC_USER_IMAGE_PREFERRED_DISTRO should have\"\\"},{"line_number":1672,"context_line":"                            \"same value\""},{"line_number":1673,"context_line":"                    fi"}],"source_content_type":"application/x-shellscript","patch_set":10,"id":"9ff52f3f_5c182c80","line":1670,"range":{"start_line":1670,"start_character":21,"end_line":1670,"end_character":99},"updated":"2017-04-13 09:28:17.000000000","message":"In case of secure boot with a partition image.\nIRONIC_GRUB2_DISTRO \u003d\u003d IRONIC_USER_IMAGE_PREFERRED_DISTRO as same grub2 would be used during deploy instance image boot-up. This restriction does not apply in case of whole disk image.","commit_id":"cbb9c256a7c939e2f6cd42ea3fc5dc4e395bd2f1"},{"author":{"_account_id":11878,"name":"Rushil Chugh","email":"rushil.chugh@gmail.com","username":"rushil"},"change_message_id":"704f97a05dcdbd30db36689f629cb47b0893cc99","unresolved":false,"context_lines":[{"line_number":1668,"context_line":"                openstack flavor set baremetal --property \"capabilities:boot_mode\"\u003d\"uefi\""},{"line_number":1669,"context_line":"                if [[ \"$SECURE_BOOT\" \u003d\u003d \"True\" ]]; then"},{"line_number":1670,"context_line":"                    if [[ \"$IRONIC_IPA_RAMDISK_DISTRO\" !\u003d \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\"  ]]; then"},{"line_number":1671,"context_line":"                        die \"IRONIC_IPA_RAMDISK_DISTRO and IRONIC_USER_IMAGE_PREFERRED_DISTRO should have\"\\"},{"line_number":1672,"context_line":"                            \"same value\""},{"line_number":1673,"context_line":"                    fi"},{"line_number":1674,"context_line":"                    openstack flavor set baremetal --property \"capabilities:secure_boot\"\u003d\"true\""}],"source_content_type":"application/x-shellscript","patch_set":10,"id":"9ff52f3f_d3ed3d26","line":1671,"range":{"start_line":1671,"start_character":101,"end_line":1671,"end_character":105},"updated":"2017-04-13 15:09:55.000000000","message":"\"s/have/have \"","commit_id":"cbb9c256a7c939e2f6cd42ea3fc5dc4e395bd2f1"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"695289725066b645bcb938f75b1487c887e22c69","unresolved":false,"context_lines":[{"line_number":1668,"context_line":"                openstack flavor set baremetal --property \"capabilities:boot_mode\"\u003d\"uefi\""},{"line_number":1669,"context_line":"                if [[ \"$SECURE_BOOT\" \u003d\u003d \"True\" ]]; then"},{"line_number":1670,"context_line":"                    if [[ \"$IRONIC_IPA_RAMDISK_DISTRO\" !\u003d \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\"  ]]; then"},{"line_number":1671,"context_line":"                        die \"IRONIC_IPA_RAMDISK_DISTRO and IRONIC_USER_IMAGE_PREFERRED_DISTRO should have\"\\"},{"line_number":1672,"context_line":"                            \"same value\""},{"line_number":1673,"context_line":"                    fi"},{"line_number":1674,"context_line":"                    openstack flavor set baremetal --property \"capabilities:secure_boot\"\u003d\"true\""}],"source_content_type":"application/x-shellscript","patch_set":10,"id":"7ffa3b31_f82c8a9a","line":1671,"range":{"start_line":1671,"start_character":101,"end_line":1671,"end_character":105},"in_reply_to":"9ff52f3f_d3ed3d26","updated":"2017-04-17 07:59:07.000000000","message":"Done","commit_id":"cbb9c256a7c939e2f6cd42ea3fc5dc4e395bd2f1"},{"author":{"_account_id":11878,"name":"Rushil Chugh","email":"rushil.chugh@gmail.com","username":"rushil"},"change_message_id":"704f97a05dcdbd30db36689f629cb47b0893cc99","unresolved":false,"context_lines":[{"line_number":1746,"context_line":"        grub_dir\u003d$IRONIC_TFTPBOOT_DIR"},{"line_number":1747,"context_line":"        sudo cp $IRONIC_GRUB2_SHIM_FILE $IRONIC_TFTPBOOT_DIR/bootx64.efi"},{"line_number":1748,"context_line":"        sudo cp $IRONIC_GRUB2_FILE $IRONIC_TFTPBOOT_DIR/grubx64.efi"},{"line_number":1749,"context_line":"        if [[ \"$GRUB_DISTRO\" \u003d \"fedora\" ]]; then"},{"line_number":1750,"context_line":"            grub_dir\u003d$IRONIC_TFTPBOOT_DIR/EFI/fedora"},{"line_number":1751,"context_line":"        else"},{"line_number":1752,"context_line":"            grub_dir\u003d$IRONIC_TFTPBOOT_DIR/grub"}],"source_content_type":"application/x-shellscript","patch_set":10,"id":"9ff52f3f_9345751a","line":1749,"range":{"start_line":1749,"start_character":29,"end_line":1749,"end_character":30},"updated":"2017-04-13 15:09:55.000000000","message":"s/\u003d/\u003d\u003d","commit_id":"cbb9c256a7c939e2f6cd42ea3fc5dc4e395bd2f1"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"695289725066b645bcb938f75b1487c887e22c69","unresolved":false,"context_lines":[{"line_number":1746,"context_line":"        grub_dir\u003d$IRONIC_TFTPBOOT_DIR"},{"line_number":1747,"context_line":"        sudo cp $IRONIC_GRUB2_SHIM_FILE $IRONIC_TFTPBOOT_DIR/bootx64.efi"},{"line_number":1748,"context_line":"        sudo cp $IRONIC_GRUB2_FILE $IRONIC_TFTPBOOT_DIR/grubx64.efi"},{"line_number":1749,"context_line":"        if [[ \"$GRUB_DISTRO\" \u003d \"fedora\" ]]; then"},{"line_number":1750,"context_line":"            grub_dir\u003d$IRONIC_TFTPBOOT_DIR/EFI/fedora"},{"line_number":1751,"context_line":"        else"},{"line_number":1752,"context_line":"            grub_dir\u003d$IRONIC_TFTPBOOT_DIR/grub"}],"source_content_type":"application/x-shellscript","patch_set":10,"id":"7ffa3b31_d821cea1","line":1749,"range":{"start_line":1749,"start_character":29,"end_line":1749,"end_character":30},"in_reply_to":"9ff52f3f_9345751a","updated":"2017-04-17 07:59:07.000000000","message":"Done","commit_id":"cbb9c256a7c939e2f6cd42ea3fc5dc4e395bd2f1"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"b741783839a758a2f64f85bf743df2e161adfdf8","unresolved":false,"context_lines":[{"line_number":438,"context_line":"# Sanity checks"},{"line_number":439,"context_line":"if [[ \"$IRONIC_BOOT_MODE\" \u003d\u003d \"uefi\" ]]; then"},{"line_number":440,"context_line":"    if [[ \"$IRONIC_IPXE_ENABLED\" \u003d\u003d \"False\" ]] \u0026\u0026 [[ \"$IRONIC_UEFI_BOOT_LOADER\" !\u003d \"grub2\" ]]; then"},{"line_number":441,"context_line":"        die $LINENO \"Currently, Boot mode UEFI is supported either with iPXE or the boot loaders with the exception or grub2.\""},{"line_number":442,"context_line":"    fi"},{"line_number":443,"context_line":""},{"line_number":444,"context_line":"    if ! is_fedora \u0026\u0026 ! is_ubuntu; then"}],"source_content_type":"application/x-shellscript","patch_set":13,"id":"7ffa3b31_fde1002c","line":441,"range":{"start_line":441,"start_character":21,"end_line":441,"end_character":125},"updated":"2017-04-18 03:27:54.000000000","message":"s/ \u0027Currently, Boot mode UEFI is supported either with iPXE or the boot loaders with the exception or grub2.\u0027 / \u0027Boot mode UEFI is only supported with iPXE and grub2 bootloaders.\u0027/","commit_id":"6ce29efc111b9d38a6b1b881d53430827f6ccee4"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"cf38197fda0eca1e8b21b795a54cbecec5b58015","unresolved":false,"context_lines":[{"line_number":438,"context_line":"# Sanity checks"},{"line_number":439,"context_line":"if [[ \"$IRONIC_BOOT_MODE\" \u003d\u003d \"uefi\" ]]; then"},{"line_number":440,"context_line":"    if [[ \"$IRONIC_IPXE_ENABLED\" \u003d\u003d \"False\" ]] \u0026\u0026 [[ \"$IRONIC_UEFI_BOOT_LOADER\" !\u003d \"grub2\" ]]; then"},{"line_number":441,"context_line":"        die $LINENO \"Currently, Boot mode UEFI is supported either with iPXE or the boot loaders with the exception or grub2.\""},{"line_number":442,"context_line":"    fi"},{"line_number":443,"context_line":""},{"line_number":444,"context_line":"    if ! is_fedora \u0026\u0026 ! is_ubuntu; then"}],"source_content_type":"application/x-shellscript","patch_set":13,"id":"7ffa3b31_36be1ad5","line":441,"range":{"start_line":441,"start_character":21,"end_line":441,"end_character":125},"in_reply_to":"7ffa3b31_fde1002c","updated":"2017-04-20 06:07:50.000000000","message":"Done","commit_id":"6ce29efc111b9d38a6b1b881d53430827f6ccee4"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"b741783839a758a2f64f85bf743df2e161adfdf8","unresolved":false,"context_lines":[{"line_number":1658,"context_line":"            if [[ \"$IRONIC_BOOT_MODE\" \u003d\u003d \"uefi\" ]]; then"},{"line_number":1659,"context_line":"                openstack flavor set baremetal --property \"capabilities:boot_mode\"\u003d\"uefi\""},{"line_number":1660,"context_line":"                if [[ \"$IRONIC_SECURE_BOOT\" \u003d\u003d \"True\" ]]; then"},{"line_number":1661,"context_line":"                    if [[ \"$IRONIC_TEMPEST_WHOLE_DISK_IMAGE\" \u003d\u003d \"False\" ]]; then "},{"line_number":1662,"context_line":"                        if [[ \"$IRONIC_GRUB2_DISTRO\" !\u003d \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\"  ]]; then"},{"line_number":1663,"context_line":"                            die \"IRONIC_GRUB2_DISTRO and IRONIC_USER_IMAGE_PREFERRED_DISTRO should have \"\\"},{"line_number":1664,"context_line":"                                \"same value\""}],"source_content_type":"application/x-shellscript","patch_set":13,"id":"7ffa3b31_3d93e8a5","line":1661,"range":{"start_line":1661,"start_character":76,"end_line":1661,"end_character":81},"updated":"2017-04-18 03:27:54.000000000","message":"nit: Extra space at end.","commit_id":"6ce29efc111b9d38a6b1b881d53430827f6ccee4"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"cf38197fda0eca1e8b21b795a54cbecec5b58015","unresolved":false,"context_lines":[{"line_number":1658,"context_line":"            if [[ \"$IRONIC_BOOT_MODE\" \u003d\u003d \"uefi\" ]]; then"},{"line_number":1659,"context_line":"                openstack flavor set baremetal --property \"capabilities:boot_mode\"\u003d\"uefi\""},{"line_number":1660,"context_line":"                if [[ \"$IRONIC_SECURE_BOOT\" \u003d\u003d \"True\" ]]; then"},{"line_number":1661,"context_line":"                    if [[ \"$IRONIC_TEMPEST_WHOLE_DISK_IMAGE\" \u003d\u003d \"False\" ]]; then "},{"line_number":1662,"context_line":"                        if [[ \"$IRONIC_GRUB2_DISTRO\" !\u003d \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\"  ]]; then"},{"line_number":1663,"context_line":"                            die \"IRONIC_GRUB2_DISTRO and IRONIC_USER_IMAGE_PREFERRED_DISTRO should have \"\\"},{"line_number":1664,"context_line":"                                \"same value\""}],"source_content_type":"application/x-shellscript","patch_set":13,"id":"7ffa3b31_16c31e5f","line":1661,"range":{"start_line":1661,"start_character":76,"end_line":1661,"end_character":81},"in_reply_to":"7ffa3b31_3d93e8a5","updated":"2017-04-20 06:07:50.000000000","message":"Done","commit_id":"6ce29efc111b9d38a6b1b881d53430827f6ccee4"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"b741783839a758a2f64f85bf743df2e161adfdf8","unresolved":false,"context_lines":[{"line_number":1664,"context_line":"                                \"same value\""},{"line_number":1665,"context_line":"                        fi"},{"line_number":1666,"context_line":"                    fi"},{"line_number":1667,"context_line":"                    openstack flavor set baremetal --property \"capabilities:secure_boot\"\u003d\"true\""},{"line_number":1668,"context_line":"                fi"},{"line_number":1669,"context_line":"            fi"},{"line_number":1670,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":13,"id":"7ffa3b31_dd2e4442","line":1667,"range":{"start_line":1667,"start_character":20,"end_line":1667,"end_character":95},"updated":"2017-04-18 03:27:54.000000000","message":"Also need update node properties for secure_boot capabilities in enroll_node() method.\nhttps://github.com/openstack/ironic/blob/master/devstack/lib/ironic#L1491-L1494","commit_id":"6ce29efc111b9d38a6b1b881d53430827f6ccee4"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"cf38197fda0eca1e8b21b795a54cbecec5b58015","unresolved":false,"context_lines":[{"line_number":1664,"context_line":"                                \"same value\""},{"line_number":1665,"context_line":"                        fi"},{"line_number":1666,"context_line":"                    fi"},{"line_number":1667,"context_line":"                    openstack flavor set baremetal --property \"capabilities:secure_boot\"\u003d\"true\""},{"line_number":1668,"context_line":"                fi"},{"line_number":1669,"context_line":"            fi"},{"line_number":1670,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":13,"id":"7ffa3b31_d6b816e6","line":1667,"range":{"start_line":1667,"start_character":20,"end_line":1667,"end_character":95},"in_reply_to":"7ffa3b31_dd2e4442","updated":"2017-04-20 06:07:50.000000000","message":"Done","commit_id":"6ce29efc111b9d38a6b1b881d53430827f6ccee4"},{"author":{"_account_id":11297,"name":"Nisha Agarwal","email":"agarwalnisha1980@gmail.com","username":"Nisha"},"change_message_id":"04663cde6b746c2ab4ab4aa91ac9add8dc3f7531","unresolved":false,"context_lines":[{"line_number":1736,"context_line":"        echo \"re ^([^/]) $IRONIC_TFTPBOOT_DIR/\\1\" \u003e\u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":1737,"context_line":""},{"line_number":1738,"context_line":"        grub_dir\u003d$IRONIC_TFTPBOOT_DIR"},{"line_number":1739,"context_line":"        sudo cp $IRONIC_GRUB2_SHIM_FILE $IRONIC_TFTPBOOT_DIR/bootx64.efi"},{"line_number":1740,"context_line":"        sudo cp $IRONIC_GRUB2_FILE $IRONIC_TFTPBOOT_DIR/grubx64.efi"},{"line_number":1741,"context_line":"        if [[ \"$IRONIC_GRUB2_DISTRO\" \u003d\u003d \"fedora\" ]]; then"},{"line_number":1742,"context_line":"            grub_dir\u003d$IRONIC_TFTPBOOT_DIR/EFI/fedora"}],"source_content_type":"application/x-shellscript","patch_set":13,"id":"7ffa3b31_d32bd3e8","line":1739,"range":{"start_line":1739,"start_character":17,"end_line":1739,"end_character":39},"updated":"2017-04-18 06:14:04.000000000","message":"This is not defined up in the script","commit_id":"6ce29efc111b9d38a6b1b881d53430827f6ccee4"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"cf38197fda0eca1e8b21b795a54cbecec5b58015","unresolved":false,"context_lines":[{"line_number":1736,"context_line":"        echo \"re ^([^/]) $IRONIC_TFTPBOOT_DIR/\\1\" \u003e\u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":1737,"context_line":""},{"line_number":1738,"context_line":"        grub_dir\u003d$IRONIC_TFTPBOOT_DIR"},{"line_number":1739,"context_line":"        sudo cp $IRONIC_GRUB2_SHIM_FILE $IRONIC_TFTPBOOT_DIR/bootx64.efi"},{"line_number":1740,"context_line":"        sudo cp $IRONIC_GRUB2_FILE $IRONIC_TFTPBOOT_DIR/grubx64.efi"},{"line_number":1741,"context_line":"        if [[ \"$IRONIC_GRUB2_DISTRO\" \u003d\u003d \"fedora\" ]]; then"},{"line_number":1742,"context_line":"            grub_dir\u003d$IRONIC_TFTPBOOT_DIR/EFI/fedora"}],"source_content_type":"application/x-shellscript","patch_set":13,"id":"7ffa3b31_b6d10a26","line":1739,"range":{"start_line":1739,"start_character":17,"end_line":1739,"end_character":39},"in_reply_to":"7ffa3b31_d32bd3e8","updated":"2017-04-20 06:07:50.000000000","message":"Done","commit_id":"6ce29efc111b9d38a6b1b881d53430827f6ccee4"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"3766a9846feb44f3ab184587d05fb8a8cff34594","unresolved":false,"context_lines":[{"line_number":1493,"context_line":"        if [[ \"$IRONIC_BOOT_MODE\" \u003d\u003d \"uefi\" ]]; then"},{"line_number":1494,"context_line":"            node_capabilities+\u003d\" -p capabilities\u003dboot_mode:uefi\""},{"line_number":1495,"context_line":"            if [[ \"$IRONIC_SECURE_BOOT\" \u003d\u003d \"True\" ]]; then"},{"line_number":1496,"context_line":"                node_capabilities\u003d\"$node_capabilities,secure_boot:true\""},{"line_number":1497,"context_line":"            fi"},{"line_number":1498,"context_line":"        fi"},{"line_number":1499,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":14,"id":"7ffa3b31_2644a573","line":1496,"range":{"start_line":1496,"start_character":16,"end_line":1496,"end_character":71},"updated":"2017-04-20 08:52:59.000000000","message":"This should be as \u0027,\u0027 gets added @ L1579:\n node_capabilities+\u003d\"${node_capabilities}secure_boot:true\"","commit_id":"bb2031babdaab1fe4b99f752e1090c542168fc58"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"3022225af386bf8548c4c1dd10d46a34236a9110","unresolved":false,"context_lines":[{"line_number":1493,"context_line":"        if [[ \"$IRONIC_BOOT_MODE\" \u003d\u003d \"uefi\" ]]; then"},{"line_number":1494,"context_line":"            node_capabilities+\u003d\" -p capabilities\u003dboot_mode:uefi\""},{"line_number":1495,"context_line":"            if [[ \"$IRONIC_SECURE_BOOT\" \u003d\u003d \"True\" ]]; then"},{"line_number":1496,"context_line":"                node_capabilities\u003d\"$node_capabilities,secure_boot:true\""},{"line_number":1497,"context_line":"            fi"},{"line_number":1498,"context_line":"        fi"},{"line_number":1499,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":14,"id":"5ff73747_546924bc","line":1496,"range":{"start_line":1496,"start_character":16,"end_line":1496,"end_character":71},"in_reply_to":"7ffa3b31_2644a573","updated":"2017-04-24 07:52:16.000000000","message":"Done","commit_id":"bb2031babdaab1fe4b99f752e1090c542168fc58"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"3766a9846feb44f3ab184587d05fb8a8cff34594","unresolved":false,"context_lines":[{"line_number":1492,"context_line":"        local node_capabilities\u003d\"\""},{"line_number":1493,"context_line":"        if [[ \"$IRONIC_BOOT_MODE\" \u003d\u003d \"uefi\" ]]; then"},{"line_number":1494,"context_line":"            node_capabilities+\u003d\" -p capabilities\u003dboot_mode:uefi\""},{"line_number":1495,"context_line":"            if [[ \"$IRONIC_SECURE_BOOT\" \u003d\u003d \"True\" ]]; then"},{"line_number":1496,"context_line":"                node_capabilities\u003d\"$node_capabilities,secure_boot:true\""},{"line_number":1497,"context_line":"            fi"},{"line_number":1498,"context_line":"        fi"},{"line_number":1499,"context_line":""},{"line_number":1500,"context_line":"        if [[ \"$IRONIC_IS_HARDWARE\" \u003d\u003d \"False\" ]]; then"}],"source_content_type":"application/x-shellscript","patch_set":14,"id":"7ffa3b31_a6bd5503","line":1497,"range":{"start_line":1495,"start_character":12,"end_line":1497,"end_character":14},"updated":"2017-04-20 08:52:59.000000000","message":"This block need not be under \u0027IRONIC_BOOT_MODE\u0027 check.","commit_id":"bb2031babdaab1fe4b99f752e1090c542168fc58"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"3022225af386bf8548c4c1dd10d46a34236a9110","unresolved":false,"context_lines":[{"line_number":1492,"context_line":"        local node_capabilities\u003d\"\""},{"line_number":1493,"context_line":"        if [[ \"$IRONIC_BOOT_MODE\" \u003d\u003d \"uefi\" ]]; then"},{"line_number":1494,"context_line":"            node_capabilities+\u003d\" -p capabilities\u003dboot_mode:uefi\""},{"line_number":1495,"context_line":"            if [[ \"$IRONIC_SECURE_BOOT\" \u003d\u003d \"True\" ]]; then"},{"line_number":1496,"context_line":"                node_capabilities\u003d\"$node_capabilities,secure_boot:true\""},{"line_number":1497,"context_line":"            fi"},{"line_number":1498,"context_line":"        fi"},{"line_number":1499,"context_line":""},{"line_number":1500,"context_line":"        if [[ \"$IRONIC_IS_HARDWARE\" \u003d\u003d \"False\" ]]; then"}],"source_content_type":"application/x-shellscript","patch_set":14,"id":"5ff73747_f45f100c","line":1497,"range":{"start_line":1495,"start_character":12,"end_line":1497,"end_character":14},"in_reply_to":"7ffa3b31_a6bd5503","updated":"2017-04-24 07:52:16.000000000","message":"Done","commit_id":"bb2031babdaab1fe4b99f752e1090c542168fc58"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"3766a9846feb44f3ab184587d05fb8a8cff34594","unresolved":false,"context_lines":[{"line_number":1662,"context_line":""},{"line_number":1663,"context_line":"            if [[ \"$IRONIC_BOOT_MODE\" \u003d\u003d \"uefi\" ]]; then"},{"line_number":1664,"context_line":"                openstack flavor set baremetal --property \"capabilities:boot_mode\"\u003d\"uefi\""},{"line_number":1665,"context_line":"                if [[ \"$IRONIC_SECURE_BOOT\" \u003d\u003d \"True\" ]]; then"},{"line_number":1666,"context_line":"                    if [[ \"$IRONIC_TEMPEST_WHOLE_DISK_IMAGE\" \u003d\u003d \"False\" ]]; then"},{"line_number":1667,"context_line":"                        if [[ \"$IRONIC_GRUB2_DISTRO\" !\u003d \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\"  ]]; then"},{"line_number":1668,"context_line":"                            die \"IRONIC_GRUB2_DISTRO and IRONIC_USER_IMAGE_PREFERRED_DISTRO should have \"\\"},{"line_number":1669,"context_line":"                                \"same value\""},{"line_number":1670,"context_line":"                        fi"},{"line_number":1671,"context_line":"                    fi"},{"line_number":1672,"context_line":"                    openstack flavor set baremetal --property \"capabilities:secure_boot\"\u003d\"true\""},{"line_number":1673,"context_line":"                fi"},{"line_number":1674,"context_line":"            fi"},{"line_number":1675,"context_line":""},{"line_number":1676,"context_line":"            # NOTE(dtantsur): sometimes nova compute fails to start with ironic due"}],"source_content_type":"application/x-shellscript","patch_set":14,"id":"7ffa3b31_e6fa3dbb","line":1673,"range":{"start_line":1665,"start_character":16,"end_line":1673,"end_character":18},"updated":"2017-04-20 08:52:59.000000000","message":"This block need not be under \u0027IRONIC_BOOT_MODE\u0027 check.","commit_id":"bb2031babdaab1fe4b99f752e1090c542168fc58"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"3022225af386bf8548c4c1dd10d46a34236a9110","unresolved":false,"context_lines":[{"line_number":1662,"context_line":""},{"line_number":1663,"context_line":"            if [[ \"$IRONIC_BOOT_MODE\" \u003d\u003d \"uefi\" ]]; then"},{"line_number":1664,"context_line":"                openstack flavor set baremetal --property \"capabilities:boot_mode\"\u003d\"uefi\""},{"line_number":1665,"context_line":"                if [[ \"$IRONIC_SECURE_BOOT\" \u003d\u003d \"True\" ]]; then"},{"line_number":1666,"context_line":"                    if [[ \"$IRONIC_TEMPEST_WHOLE_DISK_IMAGE\" \u003d\u003d \"False\" ]]; then"},{"line_number":1667,"context_line":"                        if [[ \"$IRONIC_GRUB2_DISTRO\" !\u003d \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\"  ]]; then"},{"line_number":1668,"context_line":"                            die \"IRONIC_GRUB2_DISTRO and IRONIC_USER_IMAGE_PREFERRED_DISTRO should have \"\\"},{"line_number":1669,"context_line":"                                \"same value\""},{"line_number":1670,"context_line":"                        fi"},{"line_number":1671,"context_line":"                    fi"},{"line_number":1672,"context_line":"                    openstack flavor set baremetal --property \"capabilities:secure_boot\"\u003d\"true\""},{"line_number":1673,"context_line":"                fi"},{"line_number":1674,"context_line":"            fi"},{"line_number":1675,"context_line":""},{"line_number":1676,"context_line":"            # NOTE(dtantsur): sometimes nova compute fails to start with ironic due"}],"source_content_type":"application/x-shellscript","patch_set":14,"id":"5ff73747_94a44c0a","line":1673,"range":{"start_line":1665,"start_character":16,"end_line":1673,"end_character":18},"in_reply_to":"7ffa3b31_e6fa3dbb","updated":"2017-04-24 07:52:16.000000000","message":"Done","commit_id":"bb2031babdaab1fe4b99f752e1090c542168fc58"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"3766a9846feb44f3ab184587d05fb8a8cff34594","unresolved":false,"context_lines":[{"line_number":1732,"context_line":""},{"line_number":1733,"context_line":"    # setup tftp file mapping to satisfy requests at the root (booting) and"},{"line_number":1734,"context_line":"    # /tftpboot/ sub-dir (as per deploy-ironic elements)"},{"line_number":1735,"context_line":"    if [[ \"$IRONIC_IPXE_ENABLED\" \u003d\u003d \"False\" \u0026\u0026 \"$IRONIC_BOOT_MODE\" \u003d\u003d \"uefi\" \u0026\u0026 \"$IRONIC_UEFI_BOOT_LOADER\" \u003d\u003d \"grub2\" ]]; then"},{"line_number":1736,"context_line":"        local grub_dir"},{"line_number":1737,"context_line":""},{"line_number":1738,"context_line":"        echo \"re ^($IRONIC_TFTPBOOT_DIR/) $IRONIC_TFTPBOOT_DIR/\\2\"  \u003e$IRONIC_TFTPBOOT_DIR/map-file"}],"source_content_type":"application/x-shellscript","patch_set":14,"id":"7ffa3b31_864379af","line":1735,"range":{"start_line":1735,"start_character":47,"end_line":1735,"end_character":76},"updated":"2017-04-20 08:52:59.000000000","message":"It should get into this loop in case \u0027IRONIC_BOOT_MODE\u0027 being set to \u0027uefi\u0027 or \u0027IRONIC_SECURE_BOOT\u0027 is set too \u0027True\u0027\n\n... \u0026\u0026 [[ \"$IRONIC_BOOT_MODE\" \u003d\u003d \"uefi\" || $IRONIC_SECURE_BOOT \u003d\u003d \u0027True\u0027 ]] \u0026\u0026 ...","commit_id":"bb2031babdaab1fe4b99f752e1090c542168fc58"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"3022225af386bf8548c4c1dd10d46a34236a9110","unresolved":false,"context_lines":[{"line_number":1732,"context_line":""},{"line_number":1733,"context_line":"    # setup tftp file mapping to satisfy requests at the root (booting) and"},{"line_number":1734,"context_line":"    # /tftpboot/ sub-dir (as per deploy-ironic elements)"},{"line_number":1735,"context_line":"    if [[ \"$IRONIC_IPXE_ENABLED\" \u003d\u003d \"False\" \u0026\u0026 \"$IRONIC_BOOT_MODE\" \u003d\u003d \"uefi\" \u0026\u0026 \"$IRONIC_UEFI_BOOT_LOADER\" \u003d\u003d \"grub2\" ]]; then"},{"line_number":1736,"context_line":"        local grub_dir"},{"line_number":1737,"context_line":""},{"line_number":1738,"context_line":"        echo \"re ^($IRONIC_TFTPBOOT_DIR/) $IRONIC_TFTPBOOT_DIR/\\2\"  \u003e$IRONIC_TFTPBOOT_DIR/map-file"}],"source_content_type":"application/x-shellscript","patch_set":14,"id":"5ff73747_74a9c0dd","line":1735,"range":{"start_line":1735,"start_character":47,"end_line":1735,"end_character":76},"in_reply_to":"7ffa3b31_864379af","updated":"2017-04-24 07:52:16.000000000","message":"Done","commit_id":"bb2031babdaab1fe4b99f752e1090c542168fc58"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"f62f88ef1a3acc09836b94912f8928033b7664b9","unresolved":false,"context_lines":[{"line_number":1668,"context_line":"                if [[ \"$IRONIC_TEMPEST_WHOLE_DISK_IMAGE\" \u003d\u003d \"False\" ]]; then"},{"line_number":1669,"context_line":"                    if [[ \"$IRONIC_GRUB2_DISTRO\" !\u003d \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\"  ]]; then"},{"line_number":1670,"context_line":"                        die \"IRONIC_GRUB2_DISTRO and IRONIC_USER_IMAGE_PREFERRED_DISTRO should have \"\\"},{"line_number":1671,"context_line":"                            \"same value\""},{"line_number":1672,"context_line":"                    fi"},{"line_number":1673,"context_line":"                fi"},{"line_number":1674,"context_line":"                openstack flavor set baremetal --property \"capabilities:secure_boot\"\u003d\"true\""}],"source_content_type":"application/x-shellscript","patch_set":15,"id":"5ff73747_999d980c","line":1671,"range":{"start_line":1671,"start_character":29,"end_line":1671,"end_character":39},"updated":"2017-05-03 08:28:10.000000000","message":"s/ \u0027same value\u0027 / \u0027same value to work in UEFI secure boot mode\u0027 /","commit_id":"51217c706de33d6c36307b9b40acf7e386fdc866"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"f355f619ca8713b158f20305463db67179d1b3be","unresolved":false,"context_lines":[{"line_number":1668,"context_line":"                if [[ \"$IRONIC_TEMPEST_WHOLE_DISK_IMAGE\" \u003d\u003d \"False\" ]]; then"},{"line_number":1669,"context_line":"                    if [[ \"$IRONIC_GRUB2_DISTRO\" !\u003d \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\"  ]]; then"},{"line_number":1670,"context_line":"                        die \"IRONIC_GRUB2_DISTRO and IRONIC_USER_IMAGE_PREFERRED_DISTRO should have \"\\"},{"line_number":1671,"context_line":"                            \"same value\""},{"line_number":1672,"context_line":"                    fi"},{"line_number":1673,"context_line":"                fi"},{"line_number":1674,"context_line":"                openstack flavor set baremetal --property \"capabilities:secure_boot\"\u003d\"true\""}],"source_content_type":"application/x-shellscript","patch_set":15,"id":"3f044301_f52a65e5","line":1671,"range":{"start_line":1671,"start_character":29,"end_line":1671,"end_character":39},"in_reply_to":"5ff73747_999d980c","updated":"2017-05-04 12:43:42.000000000","message":"Done","commit_id":"51217c706de33d6c36307b9b40acf7e386fdc866"},{"author":{"_account_id":22255,"name":"Tuan","email":"tuanla@vn.fujitsu.com","username":"Tuan"},"change_message_id":"590257b52a22a58b2d5180ecd2f44497862a4e5b","unresolved":false,"context_lines":[{"line_number":1763,"context_line":"set hidden_timeout_quiet\u003dfalse"},{"line_number":1764,"context_line":""},{"line_number":1765,"context_line":"menuentry \"master\"  {"},{"line_number":1766,"context_line":"configfile /opt/stack/data/ironic/tftpboot/$net_default_ip.conf"},{"line_number":1767,"context_line":"}"},{"line_number":1768,"context_line":"EOF"},{"line_number":1769,"context_line":"        chmod 644 $grub_dir/grub.cfg"}],"source_content_type":"application/x-shellscript","patch_set":16,"id":"5f201791_932701cb","line":1766,"range":{"start_line":1766,"start_character":11,"end_line":1766,"end_character":63},"updated":"2017-06-28 03:22:08.000000000","message":"s /tftpboot/$net_default_ip.conf instead of /opt/stack/data/ironic/tftpboot/$net_default_ip.conf \n\n[ref]https://specs.openstack.org/openstack/ironic-specs/specs/4.0/uefi-secure-boot-pxe-ilo.html#preparing-bootloader-and-deploy-images","commit_id":"353913cc18e30558de461ce23fcf5e5b2029dd56"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"85de3005caca557091cfab9e39c34897ac3a2421","unresolved":false,"context_lines":[{"line_number":383,"context_line":"# established from the tenant network."},{"line_number":384,"context_line":"ISCSI_SERVICE_PORT\u003d${ISCSI_SERVICE_PORT:-3260}"},{"line_number":385,"context_line":""},{"line_number":386,"context_line":"IRONIC_GRUB2_DISTRO\u003d${IRONIC_GRUB2_DISTRO:-ubuntu}"},{"line_number":387,"context_line":"# Retrieving logs from the deploy ramdisk"},{"line_number":388,"context_line":"#"},{"line_number":389,"context_line":"# IRONIC_DEPLOY_LOGS_COLLECT possible values are:"}],"source_content_type":"application/x-shellscript","patch_set":18,"id":"9f436f4f_959e3705","line":386,"updated":"2017-08-21 12:29:23.000000000","message":"The need for this variable concerns me... can\u0027t we configure ironic to support grub2 for difference distro\u0027s at the same time.","commit_id":"dbfe9a2dd455562d0a7f906e7047770d9000e2d7"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"31220cdbfff9c39a31f84d0dbbd3774d253b8e13","unresolved":false,"context_lines":[{"line_number":383,"context_line":"# established from the tenant network."},{"line_number":384,"context_line":"ISCSI_SERVICE_PORT\u003d${ISCSI_SERVICE_PORT:-3260}"},{"line_number":385,"context_line":""},{"line_number":386,"context_line":"IRONIC_GRUB2_DISTRO\u003d${IRONIC_GRUB2_DISTRO:-ubuntu}"},{"line_number":387,"context_line":"# Retrieving logs from the deploy ramdisk"},{"line_number":388,"context_line":"#"},{"line_number":389,"context_line":"# IRONIC_DEPLOY_LOGS_COLLECT possible values are:"}],"source_content_type":"application/x-shellscript","patch_set":18,"id":"7f287b81_2184c65d","line":386,"in_reply_to":"9f436f4f_959e3705","updated":"2017-09-06 09:48:49.000000000","message":"Done","commit_id":"dbfe9a2dd455562d0a7f906e7047770d9000e2d7"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"85de3005caca557091cfab9e39c34897ac3a2421","unresolved":false,"context_lines":[{"line_number":438,"context_line":""},{"line_number":439,"context_line":"IRONIC_AUTOMATED_CLEAN_ENABLED\u003d$(trueorfalse True IRONIC_AUTOMATED_CLEAN_ENABLED)"},{"line_number":440,"context_line":""},{"line_number":441,"context_line":"# Whether configure the nodes to boot in Legacy BIOS or UEFI mode. Accepted"},{"line_number":442,"context_line":"# values are: \"bios\" or \"uefi\", defaults to \"bios\"."},{"line_number":443,"context_line":"#"},{"line_number":444,"context_line":"# WARNING: UEFI is EXPERIMENTAL. The CirrOS images uploaded by DevStack by"},{"line_number":445,"context_line":"# default WILL NOT WORK with UEFI. You will need to download the UEFI capable"},{"line_number":446,"context_line":"# images manually from [0] and upload it to Glance before deploying."},{"line_number":447,"context_line":"IRONIC_BOOT_MODE\u003d${IRONIC_BOOT_MODE:-bios}"},{"line_number":448,"context_line":"IRONIC_SECURE_BOOT\u003d${IRONIC_SECURE_BOOT:-False}"},{"line_number":449,"context_line":"IRONIC_UEFI_BOOT_LOADER\u003d${IRONIC_UEFI_BOOT_LOADER:-grub2}"},{"line_number":450,"context_line":"IRONIC_GRUB2_SHIM_FILE\u003d${IRONIC_GRUB2_SHIM_FILE:-}"}],"source_content_type":"application/x-shellscript","patch_set":18,"id":"9f436f4f_df361eb5","line":447,"range":{"start_line":441,"start_character":0,"end_line":447,"end_character":42},"updated":"2017-08-21 12:29:23.000000000","message":"This shouldn\u0027t be here, I expect that it was accidentally included as part of a rebase, this setting is now in devstack/common-settings","commit_id":"dbfe9a2dd455562d0a7f906e7047770d9000e2d7"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"31220cdbfff9c39a31f84d0dbbd3774d253b8e13","unresolved":false,"context_lines":[{"line_number":438,"context_line":""},{"line_number":439,"context_line":"IRONIC_AUTOMATED_CLEAN_ENABLED\u003d$(trueorfalse True IRONIC_AUTOMATED_CLEAN_ENABLED)"},{"line_number":440,"context_line":""},{"line_number":441,"context_line":"# Whether configure the nodes to boot in Legacy BIOS or UEFI mode. Accepted"},{"line_number":442,"context_line":"# values are: \"bios\" or \"uefi\", defaults to \"bios\"."},{"line_number":443,"context_line":"#"},{"line_number":444,"context_line":"# WARNING: UEFI is EXPERIMENTAL. The CirrOS images uploaded by DevStack by"},{"line_number":445,"context_line":"# default WILL NOT WORK with UEFI. You will need to download the UEFI capable"},{"line_number":446,"context_line":"# images manually from [0] and upload it to Glance before deploying."},{"line_number":447,"context_line":"IRONIC_BOOT_MODE\u003d${IRONIC_BOOT_MODE:-bios}"},{"line_number":448,"context_line":"IRONIC_SECURE_BOOT\u003d${IRONIC_SECURE_BOOT:-False}"},{"line_number":449,"context_line":"IRONIC_UEFI_BOOT_LOADER\u003d${IRONIC_UEFI_BOOT_LOADER:-grub2}"},{"line_number":450,"context_line":"IRONIC_GRUB2_SHIM_FILE\u003d${IRONIC_GRUB2_SHIM_FILE:-}"}],"source_content_type":"application/x-shellscript","patch_set":18,"id":"7f287b81_6e58fdf8","line":447,"range":{"start_line":441,"start_character":0,"end_line":447,"end_character":42},"in_reply_to":"9f436f4f_df361eb5","updated":"2017-09-06 09:48:49.000000000","message":"Done","commit_id":"dbfe9a2dd455562d0a7f906e7047770d9000e2d7"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"85de3005caca557091cfab9e39c34897ac3a2421","unresolved":false,"context_lines":[{"line_number":447,"context_line":"IRONIC_BOOT_MODE\u003d${IRONIC_BOOT_MODE:-bios}"},{"line_number":448,"context_line":"IRONIC_SECURE_BOOT\u003d${IRONIC_SECURE_BOOT:-False}"},{"line_number":449,"context_line":"IRONIC_UEFI_BOOT_LOADER\u003d${IRONIC_UEFI_BOOT_LOADER:-grub2}"},{"line_number":450,"context_line":"IRONIC_GRUB2_SHIM_FILE\u003d${IRONIC_GRUB2_SHIM_FILE:-}"},{"line_number":451,"context_line":"IRONIC_GRUB2_FILE\u003d${IRONIC_GRUB2_FILE:-}"},{"line_number":452,"context_line":"IRONIC_UEFI_FILES_DIR\u003d${IRONIC_UEFI_FILES_DIR:-/var/lib/libvirt/images}"},{"line_number":453,"context_line":"UEFI_LOADER_PATH\u003d$IRONIC_UEFI_FILES_DIR/OVMF_CODE.fd"},{"line_number":454,"context_line":"UEFI_NVRAM_PATH\u003d$IRONIC_UEFI_FILES_DIR/OVMF_VARS.fd"}],"source_content_type":"application/x-shellscript","patch_set":18,"id":"9f436f4f_79362db7","line":451,"range":{"start_line":450,"start_character":0,"end_line":451,"end_character":40},"updated":"2017-08-21 12:29:23.000000000","message":"Should we provide an option to build these or copy them from the host system during devstack if they aren\u0027t provided?\n\nSomething like:\nhttps://github.com/openSUSE/kiwi/wiki/Setup-PXE-boot-with-EFI-Using-GRUB2#setting-up-a-standalone-static-efi-image","commit_id":"dbfe9a2dd455562d0a7f906e7047770d9000e2d7"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"31220cdbfff9c39a31f84d0dbbd3774d253b8e13","unresolved":false,"context_lines":[{"line_number":447,"context_line":"IRONIC_BOOT_MODE\u003d${IRONIC_BOOT_MODE:-bios}"},{"line_number":448,"context_line":"IRONIC_SECURE_BOOT\u003d${IRONIC_SECURE_BOOT:-False}"},{"line_number":449,"context_line":"IRONIC_UEFI_BOOT_LOADER\u003d${IRONIC_UEFI_BOOT_LOADER:-grub2}"},{"line_number":450,"context_line":"IRONIC_GRUB2_SHIM_FILE\u003d${IRONIC_GRUB2_SHIM_FILE:-}"},{"line_number":451,"context_line":"IRONIC_GRUB2_FILE\u003d${IRONIC_GRUB2_FILE:-}"},{"line_number":452,"context_line":"IRONIC_UEFI_FILES_DIR\u003d${IRONIC_UEFI_FILES_DIR:-/var/lib/libvirt/images}"},{"line_number":453,"context_line":"UEFI_LOADER_PATH\u003d$IRONIC_UEFI_FILES_DIR/OVMF_CODE.fd"},{"line_number":454,"context_line":"UEFI_NVRAM_PATH\u003d$IRONIC_UEFI_FILES_DIR/OVMF_VARS.fd"}],"source_content_type":"application/x-shellscript","patch_set":18,"id":"7f287b81_3ba759aa","line":451,"range":{"start_line":450,"start_character":0,"end_line":451,"end_character":40},"in_reply_to":"9f436f4f_79362db7","updated":"2017-09-06 09:48:49.000000000","message":"These files might not be present by default in the system. Thats why we are passing these in the local.conf.","commit_id":"dbfe9a2dd455562d0a7f906e7047770d9000e2d7"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"85de3005caca557091cfab9e39c34897ac3a2421","unresolved":false,"context_lines":[{"line_number":1860,"context_line":""},{"line_number":1861,"context_line":"            if [[ \"$IRONIC_SECURE_BOOT\" \u003d\u003d \"True\" ]]; then"},{"line_number":1862,"context_line":"                if [[ \"$IRONIC_TEMPEST_WHOLE_DISK_IMAGE\" \u003d\u003d \"False\" ]]; then"},{"line_number":1863,"context_line":"                    if [[ \"$IRONIC_GRUB2_DISTRO\" !\u003d \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\"  ]]; then"},{"line_number":1864,"context_line":"                        die \"IRONIC_GRUB2_DISTRO and IRONIC_USER_IMAGE_PREFERRED_DISTRO should have \"\\"},{"line_number":1865,"context_line":"                            \"same value to work in UEFI secure boot mode\""},{"line_number":1866,"context_line":"                    fi"}],"source_content_type":"application/x-shellscript","patch_set":18,"id":"9f436f4f_d5bb9fe2","line":1863,"range":{"start_line":1863,"start_character":54,"end_line":1863,"end_character":88},"updated":"2017-08-21 12:29:23.000000000","message":"This variable doesn\u0027t seem to be defined anywhere.","commit_id":"dbfe9a2dd455562d0a7f906e7047770d9000e2d7"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"31220cdbfff9c39a31f84d0dbbd3774d253b8e13","unresolved":false,"context_lines":[{"line_number":1860,"context_line":""},{"line_number":1861,"context_line":"            if [[ \"$IRONIC_SECURE_BOOT\" \u003d\u003d \"True\" ]]; then"},{"line_number":1862,"context_line":"                if [[ \"$IRONIC_TEMPEST_WHOLE_DISK_IMAGE\" \u003d\u003d \"False\" ]]; then"},{"line_number":1863,"context_line":"                    if [[ \"$IRONIC_GRUB2_DISTRO\" !\u003d \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\"  ]]; then"},{"line_number":1864,"context_line":"                        die \"IRONIC_GRUB2_DISTRO and IRONIC_USER_IMAGE_PREFERRED_DISTRO should have \"\\"},{"line_number":1865,"context_line":"                            \"same value to work in UEFI secure boot mode\""},{"line_number":1866,"context_line":"                    fi"}],"source_content_type":"application/x-shellscript","patch_set":18,"id":"7f287b81_ae0705ca","line":1863,"range":{"start_line":1863,"start_character":54,"end_line":1863,"end_character":88},"in_reply_to":"9f436f4f_d5bb9fe2","updated":"2017-09-06 09:48:49.000000000","message":"Done","commit_id":"dbfe9a2dd455562d0a7f906e7047770d9000e2d7"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"85de3005caca557091cfab9e39c34897ac3a2421","unresolved":false,"context_lines":[{"line_number":1861,"context_line":"            if [[ \"$IRONIC_SECURE_BOOT\" \u003d\u003d \"True\" ]]; then"},{"line_number":1862,"context_line":"                if [[ \"$IRONIC_TEMPEST_WHOLE_DISK_IMAGE\" \u003d\u003d \"False\" ]]; then"},{"line_number":1863,"context_line":"                    if [[ \"$IRONIC_GRUB2_DISTRO\" !\u003d \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\"  ]]; then"},{"line_number":1864,"context_line":"                        die \"IRONIC_GRUB2_DISTRO and IRONIC_USER_IMAGE_PREFERRED_DISTRO should have \"\\"},{"line_number":1865,"context_line":"                            \"same value to work in UEFI secure boot mode\""},{"line_number":1866,"context_line":"                    fi"},{"line_number":1867,"context_line":"                fi"},{"line_number":1868,"context_line":"                openstack flavor set baremetal --property \"capabilities:secure_boot\"\u003d\"true\""}],"source_content_type":"application/x-shellscript","patch_set":18,"id":"9f436f4f_d5895f26","line":1865,"range":{"start_line":1864,"start_character":24,"end_line":1865,"end_character":73},"updated":"2017-08-21 12:29:23.000000000","message":"Maybe mention this is specific to partition images, or include something like \"If IRONIC_TEMPEST_WHOLE_DISK_IMAGE is False then IRONIC_GRUB2_DISTRO ...\"","commit_id":"dbfe9a2dd455562d0a7f906e7047770d9000e2d7"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"31220cdbfff9c39a31f84d0dbbd3774d253b8e13","unresolved":false,"context_lines":[{"line_number":1861,"context_line":"            if [[ \"$IRONIC_SECURE_BOOT\" \u003d\u003d \"True\" ]]; then"},{"line_number":1862,"context_line":"                if [[ \"$IRONIC_TEMPEST_WHOLE_DISK_IMAGE\" \u003d\u003d \"False\" ]]; then"},{"line_number":1863,"context_line":"                    if [[ \"$IRONIC_GRUB2_DISTRO\" !\u003d \"$IRONIC_USER_IMAGE_PREFERRED_DISTRO\"  ]]; then"},{"line_number":1864,"context_line":"                        die \"IRONIC_GRUB2_DISTRO and IRONIC_USER_IMAGE_PREFERRED_DISTRO should have \"\\"},{"line_number":1865,"context_line":"                            \"same value to work in UEFI secure boot mode\""},{"line_number":1866,"context_line":"                    fi"},{"line_number":1867,"context_line":"                fi"},{"line_number":1868,"context_line":"                openstack flavor set baremetal --property \"capabilities:secure_boot\"\u003d\"true\""}],"source_content_type":"application/x-shellscript","patch_set":18,"id":"7f287b81_2e24355d","line":1865,"range":{"start_line":1864,"start_character":24,"end_line":1865,"end_character":73},"in_reply_to":"9f436f4f_d5895f26","updated":"2017-09-06 09:48:49.000000000","message":"Done","commit_id":"dbfe9a2dd455562d0a7f906e7047770d9000e2d7"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"85de3005caca557091cfab9e39c34897ac3a2421","unresolved":false,"context_lines":[{"line_number":1950,"context_line":"        echo \"re ^($IRONIC_TFTPBOOT_DIR/) $IRONIC_TFTPBOOT_DIR/\\2\"  \u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":1951,"context_line":"        echo \"re ^$IRONIC_TFTPBOOT_DIR/ $IRONIC_TFTPBOOT_DIR/\"  \u003e\u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":1952,"context_line":"        echo \"re ^(^/) $IRONIC_TFTPBOOT_DIR/\\1\"  \u003e\u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":1953,"context_line":"        echo \"re ^([^/]) $IRONIC_TFTPBOOT_DIR/\\1\" \u003e\u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":1954,"context_line":""},{"line_number":1955,"context_line":"        grub_dir\u003d$IRONIC_TFTPBOOT_DIR"},{"line_number":1956,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":18,"id":"9f436f4f_7a486086","line":1953,"updated":"2017-08-21 12:29:23.000000000","message":"These rules don\u0027t seem to make any sense to me, for example the first one has a \\2 in it, but there aren\u0027t two parenthesized subexpressions in the regex which means that it can never be completed. The second rule seems to do exactly nothing, because it is replacing exactly what it is matching. Can you explain the case for each rule?","commit_id":"dbfe9a2dd455562d0a7f906e7047770d9000e2d7"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"31220cdbfff9c39a31f84d0dbbd3774d253b8e13","unresolved":false,"context_lines":[{"line_number":1950,"context_line":"        echo \"re ^($IRONIC_TFTPBOOT_DIR/) $IRONIC_TFTPBOOT_DIR/\\2\"  \u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":1951,"context_line":"        echo \"re ^$IRONIC_TFTPBOOT_DIR/ $IRONIC_TFTPBOOT_DIR/\"  \u003e\u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":1952,"context_line":"        echo \"re ^(^/) $IRONIC_TFTPBOOT_DIR/\\1\"  \u003e\u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":1953,"context_line":"        echo \"re ^([^/]) $IRONIC_TFTPBOOT_DIR/\\1\" \u003e\u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":1954,"context_line":""},{"line_number":1955,"context_line":"        grub_dir\u003d$IRONIC_TFTPBOOT_DIR"},{"line_number":1956,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":18,"id":"7f287b81_75a88876","line":1953,"in_reply_to":"9f436f4f_7a486086","updated":"2017-09-06 09:48:49.000000000","message":"Actually i took this from ironic documentation for configure-pxe.\nhttps://docs.openstack.org/ironic/latest/install/configure-pxe.html","commit_id":"dbfe9a2dd455562d0a7f906e7047770d9000e2d7"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"85de3005caca557091cfab9e39c34897ac3a2421","unresolved":false,"context_lines":[{"line_number":1952,"context_line":"        echo \"re ^(^/) $IRONIC_TFTPBOOT_DIR/\\1\"  \u003e\u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":1953,"context_line":"        echo \"re ^([^/]) $IRONIC_TFTPBOOT_DIR/\\1\" \u003e\u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":1954,"context_line":""},{"line_number":1955,"context_line":"        grub_dir\u003d$IRONIC_TFTPBOOT_DIR"},{"line_number":1956,"context_line":""},{"line_number":1957,"context_line":"        if [[ -z $IRONIC_GRUB2_SHIM_FILE ]] || [[ -z $IRONIC_GRUB2_FILE ]] || [[ ! -f $IRONIC_GRUB2_SHIM_FILE ]] || [[ ! -f $IRONIC_GRUB2_FILE ]]; then"},{"line_number":1958,"context_line":"            die $LINENO \"Grub2 Bootloader and Shim file missing.\""}],"source_content_type":"application/x-shellscript","patch_set":18,"id":"9f436f4f_75599333","line":1955,"updated":"2017-08-21 12:29:23.000000000","message":"No need to specify this here, it only gets redefined/overridden in the if statement below anyway","commit_id":"dbfe9a2dd455562d0a7f906e7047770d9000e2d7"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"31220cdbfff9c39a31f84d0dbbd3774d253b8e13","unresolved":false,"context_lines":[{"line_number":1952,"context_line":"        echo \"re ^(^/) $IRONIC_TFTPBOOT_DIR/\\1\"  \u003e\u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":1953,"context_line":"        echo \"re ^([^/]) $IRONIC_TFTPBOOT_DIR/\\1\" \u003e\u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":1954,"context_line":""},{"line_number":1955,"context_line":"        grub_dir\u003d$IRONIC_TFTPBOOT_DIR"},{"line_number":1956,"context_line":""},{"line_number":1957,"context_line":"        if [[ -z $IRONIC_GRUB2_SHIM_FILE ]] || [[ -z $IRONIC_GRUB2_FILE ]] || [[ ! -f $IRONIC_GRUB2_SHIM_FILE ]] || [[ ! -f $IRONIC_GRUB2_FILE ]]; then"},{"line_number":1958,"context_line":"            die $LINENO \"Grub2 Bootloader and Shim file missing.\""}],"source_content_type":"application/x-shellscript","patch_set":18,"id":"7f287b81_8ed8c952","line":1955,"in_reply_to":"9f436f4f_75599333","updated":"2017-09-06 09:48:49.000000000","message":"Done","commit_id":"dbfe9a2dd455562d0a7f906e7047770d9000e2d7"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"85de3005caca557091cfab9e39c34897ac3a2421","unresolved":false,"context_lines":[{"line_number":1954,"context_line":""},{"line_number":1955,"context_line":"        grub_dir\u003d$IRONIC_TFTPBOOT_DIR"},{"line_number":1956,"context_line":""},{"line_number":1957,"context_line":"        if [[ -z $IRONIC_GRUB2_SHIM_FILE ]] || [[ -z $IRONIC_GRUB2_FILE ]] || [[ ! -f $IRONIC_GRUB2_SHIM_FILE ]] || [[ ! -f $IRONIC_GRUB2_FILE ]]; then"},{"line_number":1958,"context_line":"            die $LINENO \"Grub2 Bootloader and Shim file missing.\""},{"line_number":1959,"context_line":"        fi"},{"line_number":1960,"context_line":""},{"line_number":1961,"context_line":"        sudo cp $IRONIC_GRUB2_SHIM_FILE $IRONIC_TFTPBOOT_DIR/bootx64.efi"},{"line_number":1962,"context_line":"        sudo cp $IRONIC_GRUB2_FILE $IRONIC_TFTPBOOT_DIR/grubx64.efi"}],"source_content_type":"application/x-shellscript","patch_set":18,"id":"9f436f4f_f516a349","line":1959,"range":{"start_line":1957,"start_character":0,"end_line":1959,"end_character":10},"updated":"2017-08-21 12:29:23.000000000","message":"I love to move this check much earlier in the devstack plugin  near the checks on L465 so that we fail early when the settings are sourced instead of waiting until we get to this point in the process to fail.","commit_id":"dbfe9a2dd455562d0a7f906e7047770d9000e2d7"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"31220cdbfff9c39a31f84d0dbbd3774d253b8e13","unresolved":false,"context_lines":[{"line_number":1954,"context_line":""},{"line_number":1955,"context_line":"        grub_dir\u003d$IRONIC_TFTPBOOT_DIR"},{"line_number":1956,"context_line":""},{"line_number":1957,"context_line":"        if [[ -z $IRONIC_GRUB2_SHIM_FILE ]] || [[ -z $IRONIC_GRUB2_FILE ]] || [[ ! -f $IRONIC_GRUB2_SHIM_FILE ]] || [[ ! -f $IRONIC_GRUB2_FILE ]]; then"},{"line_number":1958,"context_line":"            die $LINENO \"Grub2 Bootloader and Shim file missing.\""},{"line_number":1959,"context_line":"        fi"},{"line_number":1960,"context_line":""},{"line_number":1961,"context_line":"        sudo cp $IRONIC_GRUB2_SHIM_FILE $IRONIC_TFTPBOOT_DIR/bootx64.efi"},{"line_number":1962,"context_line":"        sudo cp $IRONIC_GRUB2_FILE $IRONIC_TFTPBOOT_DIR/grubx64.efi"}],"source_content_type":"application/x-shellscript","patch_set":18,"id":"7f287b81_fe789f8f","line":1959,"range":{"start_line":1957,"start_character":0,"end_line":1959,"end_character":10},"in_reply_to":"9f436f4f_f516a349","updated":"2017-09-06 09:48:49.000000000","message":"Done","commit_id":"dbfe9a2dd455562d0a7f906e7047770d9000e2d7"},{"author":{"_account_id":6637,"name":"Sam Betts","email":"sam@code-smash.net","username":"sambetts"},"change_message_id":"85de3005caca557091cfab9e39c34897ac3a2421","unresolved":false,"context_lines":[{"line_number":1960,"context_line":""},{"line_number":1961,"context_line":"        sudo cp $IRONIC_GRUB2_SHIM_FILE $IRONIC_TFTPBOOT_DIR/bootx64.efi"},{"line_number":1962,"context_line":"        sudo cp $IRONIC_GRUB2_FILE $IRONIC_TFTPBOOT_DIR/grubx64.efi"},{"line_number":1963,"context_line":"        if [[ \"$IRONIC_GRUB2_DISTRO\" \u003d\u003d \"fedora\" ]]; then"},{"line_number":1964,"context_line":"            grub_dir\u003d$IRONIC_TFTPBOOT_DIR/EFI/fedora"},{"line_number":1965,"context_line":"        else"},{"line_number":1966,"context_line":"            grub_dir\u003d$IRONIC_TFTPBOOT_DIR/grub"},{"line_number":1967,"context_line":"        fi"},{"line_number":1968,"context_line":"        mkdir -p $grub_dir"},{"line_number":1969,"context_line":"        cat \u003c\u003c \u0027EOF\u0027 \u003e $grub_dir/grub.cfg"},{"line_number":1970,"context_line":"set default\u003dmaster"}],"source_content_type":"application/x-shellscript","patch_set":18,"id":"9f436f4f_d96d199a","line":1967,"range":{"start_line":1963,"start_character":0,"end_line":1967,"end_character":10},"updated":"2017-08-21 12:29:23.000000000","message":"Can we not either have a common dir, or setup both to support either distro?","commit_id":"dbfe9a2dd455562d0a7f906e7047770d9000e2d7"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"31220cdbfff9c39a31f84d0dbbd3774d253b8e13","unresolved":false,"context_lines":[{"line_number":1960,"context_line":""},{"line_number":1961,"context_line":"        sudo cp $IRONIC_GRUB2_SHIM_FILE $IRONIC_TFTPBOOT_DIR/bootx64.efi"},{"line_number":1962,"context_line":"        sudo cp $IRONIC_GRUB2_FILE $IRONIC_TFTPBOOT_DIR/grubx64.efi"},{"line_number":1963,"context_line":"        if [[ \"$IRONIC_GRUB2_DISTRO\" \u003d\u003d \"fedora\" ]]; then"},{"line_number":1964,"context_line":"            grub_dir\u003d$IRONIC_TFTPBOOT_DIR/EFI/fedora"},{"line_number":1965,"context_line":"        else"},{"line_number":1966,"context_line":"            grub_dir\u003d$IRONIC_TFTPBOOT_DIR/grub"},{"line_number":1967,"context_line":"        fi"},{"line_number":1968,"context_line":"        mkdir -p $grub_dir"},{"line_number":1969,"context_line":"        cat \u003c\u003c \u0027EOF\u0027 \u003e $grub_dir/grub.cfg"},{"line_number":1970,"context_line":"set default\u003dmaster"}],"source_content_type":"application/x-shellscript","patch_set":18,"id":"7f287b81_a1dc3674","line":1967,"range":{"start_line":1963,"start_character":0,"end_line":1967,"end_character":10},"in_reply_to":"9f436f4f_d96d199a","updated":"2017-09-06 09:48:49.000000000","message":"Done","commit_id":"dbfe9a2dd455562d0a7f906e7047770d9000e2d7"},{"author":{"_account_id":22255,"name":"Tuan","email":"tuanla@vn.fujitsu.com","username":"Tuan"},"change_message_id":"aa7865ffb6907aa065ac75642e7eb57696bb9681","unresolved":false,"context_lines":[{"line_number":1938,"context_line":"        local grub_fedora_dir"},{"line_number":1939,"context_line":"        local grub_dir"},{"line_number":1940,"context_line":""},{"line_number":1941,"context_line":"        echo \"re ^($IRONIC_TFTPBOOT_DIR/) $IRONIC_TFTPBOOT_DIR/\\2\"  \u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":1942,"context_line":"        echo \"re ^$IRONIC_TFTPBOOT_DIR/ $IRONIC_TFTPBOOT_DIR/\"  \u003e\u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":1943,"context_line":"        echo \"re ^(^/) $IRONIC_TFTPBOOT_DIR/\\1\"  \u003e\u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":1944,"context_line":"        echo \"re ^([^/]) $IRONIC_TFTPBOOT_DIR/\\1\" \u003e\u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":1945,"context_line":""},{"line_number":1946,"context_line":"        sudo cp $IRONIC_GRUB2_SHIM_FILE $IRONIC_TFTPBOOT_DIR/bootx64.efi"},{"line_number":1947,"context_line":"        sudo cp $IRONIC_GRUB2_FILE $IRONIC_TFTPBOOT_DIR/grubx64.efi"}],"source_content_type":"application/x-shellscript","patch_set":19,"id":"7f287b81_b33a45e4","line":1944,"range":{"start_line":1941,"start_character":0,"end_line":1944,"end_character":81},"updated":"2017-09-06 15:24:30.000000000","message":"Correct example here:\necho \u0027re ^(/tftpboot/) /tftpboot/\\2\u0027 \u003e /tftpboot/map-file\necho \u0027re ^/tftpboot/ /tftpboot/\u0027 \u003e\u003e /tftpboot/map-file\necho \u0027re ^(^/) /tftpboot/\\1\u0027 \u003e\u003e /tftpboot/map-file\necho \u0027re ^([^/]) /tftpboot/\\1\u0027 \u003e\u003e /tftpboot/map-file\nThus, I suggest you change /opt/stack/data/ironic/tftpboot/ to $IRONIC_TFTPBOOT_DIR","commit_id":"305a4280b7d6fc4537e2a6b75730674541b44ba0"},{"author":{"_account_id":22255,"name":"Tuan","email":"tuanla@vn.fujitsu.com","username":"Tuan"},"change_message_id":"a27307c124515b0f01497180a5b8c2ef8f0cdcce","unresolved":false,"context_lines":[{"line_number":1938,"context_line":"        local grub_fedora_dir"},{"line_number":1939,"context_line":"        local grub_dir"},{"line_number":1940,"context_line":""},{"line_number":1941,"context_line":"        echo \"re ^($IRONIC_TFTPBOOT_DIR/) $IRONIC_TFTPBOOT_DIR/\\2\"  \u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":1942,"context_line":"        echo \"re ^$IRONIC_TFTPBOOT_DIR/ $IRONIC_TFTPBOOT_DIR/\"  \u003e\u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":1943,"context_line":"        echo \"re ^(^/) $IRONIC_TFTPBOOT_DIR/\\1\"  \u003e\u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":1944,"context_line":"        echo \"re ^([^/]) $IRONIC_TFTPBOOT_DIR/\\1\" \u003e\u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":1945,"context_line":""},{"line_number":1946,"context_line":"        sudo cp $IRONIC_GRUB2_SHIM_FILE $IRONIC_TFTPBOOT_DIR/bootx64.efi"},{"line_number":1947,"context_line":"        sudo cp $IRONIC_GRUB2_FILE $IRONIC_TFTPBOOT_DIR/grubx64.efi"}],"source_content_type":"application/x-shellscript","patch_set":19,"id":"5f2577a7_14b268e7","line":1944,"range":{"start_line":1941,"start_character":0,"end_line":1944,"end_character":81},"in_reply_to":"5f2577a7_74476c4d","updated":"2017-09-12 06:08:07.000000000","message":"@Nisha, I point to the map-file to explain why it have to change to $IRONIC_TFTPBOOT_DIR.","commit_id":"305a4280b7d6fc4537e2a6b75730674541b44ba0"},{"author":{"_account_id":11297,"name":"Nisha Agarwal","email":"agarwalnisha1980@gmail.com","username":"Nisha"},"change_message_id":"0700a6b77ea4547c37eaa68909cd0797e85096af","unresolved":false,"context_lines":[{"line_number":1938,"context_line":"        local grub_fedora_dir"},{"line_number":1939,"context_line":"        local grub_dir"},{"line_number":1940,"context_line":""},{"line_number":1941,"context_line":"        echo \"re ^($IRONIC_TFTPBOOT_DIR/) $IRONIC_TFTPBOOT_DIR/\\2\"  \u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":1942,"context_line":"        echo \"re ^$IRONIC_TFTPBOOT_DIR/ $IRONIC_TFTPBOOT_DIR/\"  \u003e\u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":1943,"context_line":"        echo \"re ^(^/) $IRONIC_TFTPBOOT_DIR/\\1\"  \u003e\u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":1944,"context_line":"        echo \"re ^([^/]) $IRONIC_TFTPBOOT_DIR/\\1\" \u003e\u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":1945,"context_line":""},{"line_number":1946,"context_line":"        sudo cp $IRONIC_GRUB2_SHIM_FILE $IRONIC_TFTPBOOT_DIR/bootx64.efi"},{"line_number":1947,"context_line":"        sudo cp $IRONIC_GRUB2_FILE $IRONIC_TFTPBOOT_DIR/grubx64.efi"}],"source_content_type":"application/x-shellscript","patch_set":19,"id":"5f2577a7_74476c4d","line":1944,"range":{"start_line":1941,"start_character":0,"end_line":1944,"end_character":81},"in_reply_to":"7f287b81_b33a45e4","updated":"2017-09-12 05:44:43.000000000","message":"@Tuan,\n\nIRONIC_TFTPBOOT_DIR is already used in this script at many places and is defined at line 116. What is the change you expect to be done here? I dont see any issues in the above changes. Are you suggesting to do \"/$IRONIC_TFTPBOOT_DIR\" at all the places?\n\nThe example you have pasted assumes that the tftpboot dir is at root so in that case IRONIC_TFTPBOOT_DIR can have the value as \"/tftpboot\"","commit_id":"305a4280b7d6fc4537e2a6b75730674541b44ba0"},{"author":{"_account_id":22255,"name":"Tuan","email":"tuanla@vn.fujitsu.com","username":"Tuan"},"change_message_id":"2dcbc32e78e93c499e72c23e589f261f8eff63b7","unresolved":false,"context_lines":[{"line_number":1954,"context_line":"set hidden_timeout_quiet\u003dfalse"},{"line_number":1955,"context_line":""},{"line_number":1956,"context_line":"menuentry \"master\"  {"},{"line_number":1957,"context_line":"configfile /opt/stack/data/ironic/tftpboot/$net_default_ip.conf"},{"line_number":1958,"context_line":"}"},{"line_number":1959,"context_line":"EOF"},{"line_number":1960,"context_line":"        chmod 644 $grub_dir/grub.cfg"}],"source_content_type":"application/x-shellscript","patch_set":19,"id":"7f287b81_2c16fdf2","line":1957,"range":{"start_line":1957,"start_character":0,"end_line":1957,"end_character":63},"updated":"2017-09-06 10:24:33.000000000","message":"This file is used to redirect grub to baremetal node specific config file. It redirects it to specific grub config file based on DHCP IP assigned to baremetal node.\nYou should configfile /tftpboot/$net_default_ip.conf","commit_id":"305a4280b7d6fc4537e2a6b75730674541b44ba0"},{"author":{"_account_id":11297,"name":"Nisha Agarwal","email":"agarwalnisha1980@gmail.com","username":"Nisha"},"change_message_id":"0700a6b77ea4547c37eaa68909cd0797e85096af","unresolved":false,"context_lines":[{"line_number":1954,"context_line":"set hidden_timeout_quiet\u003dfalse"},{"line_number":1955,"context_line":""},{"line_number":1956,"context_line":"menuentry \"master\"  {"},{"line_number":1957,"context_line":"configfile /opt/stack/data/ironic/tftpboot/$net_default_ip.conf"},{"line_number":1958,"context_line":"}"},{"line_number":1959,"context_line":"EOF"},{"line_number":1960,"context_line":"        chmod 644 $grub_dir/grub.cfg"}],"source_content_type":"application/x-shellscript","patch_set":19,"id":"5f2577a7_b4ab94d4","line":1957,"range":{"start_line":1957,"start_character":11,"end_line":1957,"end_character":42},"updated":"2017-09-12 05:44:43.000000000","message":"This has to be changed to $IRONIC_TFTPBOOT_DIR.","commit_id":"305a4280b7d6fc4537e2a6b75730674541b44ba0"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"98eb8530c65eef59d442e9e66d0399abc5a12d4b","unresolved":false,"context_lines":[{"line_number":1954,"context_line":"set hidden_timeout_quiet\u003dfalse"},{"line_number":1955,"context_line":""},{"line_number":1956,"context_line":"menuentry \"master\"  {"},{"line_number":1957,"context_line":"configfile /opt/stack/data/ironic/tftpboot/$net_default_ip.conf"},{"line_number":1958,"context_line":"}"},{"line_number":1959,"context_line":"EOF"},{"line_number":1960,"context_line":"        chmod 644 $grub_dir/grub.cfg"}],"source_content_type":"application/x-shellscript","patch_set":19,"id":"5f2577a7_0b5c827c","line":1957,"range":{"start_line":1957,"start_character":11,"end_line":1957,"end_character":42},"in_reply_to":"5f2577a7_b4ab94d4","updated":"2017-09-12 08:31:55.000000000","message":"Done","commit_id":"305a4280b7d6fc4537e2a6b75730674541b44ba0"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"98eb8530c65eef59d442e9e66d0399abc5a12d4b","unresolved":false,"context_lines":[{"line_number":1954,"context_line":"set hidden_timeout_quiet\u003dfalse"},{"line_number":1955,"context_line":""},{"line_number":1956,"context_line":"menuentry \"master\"  {"},{"line_number":1957,"context_line":"configfile /opt/stack/data/ironic/tftpboot/$net_default_ip.conf"},{"line_number":1958,"context_line":"}"},{"line_number":1959,"context_line":"EOF"},{"line_number":1960,"context_line":"        chmod 644 $grub_dir/grub.cfg"}],"source_content_type":"application/x-shellscript","patch_set":19,"id":"5f2577a7_2b673e50","line":1957,"range":{"start_line":1957,"start_character":0,"end_line":1957,"end_character":63},"in_reply_to":"7f287b81_1329199a","updated":"2017-09-12 08:31:55.000000000","message":"Done","commit_id":"305a4280b7d6fc4537e2a6b75730674541b44ba0"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"3324ba55947a7cab06ced5dfcf9c90692f38828b","unresolved":false,"context_lines":[{"line_number":1954,"context_line":"set hidden_timeout_quiet\u003dfalse"},{"line_number":1955,"context_line":""},{"line_number":1956,"context_line":"menuentry \"master\"  {"},{"line_number":1957,"context_line":"configfile /opt/stack/data/ironic/tftpboot/$net_default_ip.conf"},{"line_number":1958,"context_line":"}"},{"line_number":1959,"context_line":"EOF"},{"line_number":1960,"context_line":"        chmod 644 $grub_dir/grub.cfg"}],"source_content_type":"application/x-shellscript","patch_set":19,"id":"7f287b81_67fe5e39","line":1957,"range":{"start_line":1957,"start_character":0,"end_line":1957,"end_character":63},"in_reply_to":"7f287b81_2c16fdf2","updated":"2017-09-06 11:23:22.000000000","message":"We have to give the tftpboot directory path. Here tftpboot directory path is /opt/stack/data/ironic/tftpboot thats why i am passing.","commit_id":"305a4280b7d6fc4537e2a6b75730674541b44ba0"},{"author":{"_account_id":22255,"name":"Tuan","email":"tuanla@vn.fujitsu.com","username":"Tuan"},"change_message_id":"aa7865ffb6907aa065ac75642e7eb57696bb9681","unresolved":false,"context_lines":[{"line_number":1954,"context_line":"set hidden_timeout_quiet\u003dfalse"},{"line_number":1955,"context_line":""},{"line_number":1956,"context_line":"menuentry \"master\"  {"},{"line_number":1957,"context_line":"configfile /opt/stack/data/ironic/tftpboot/$net_default_ip.conf"},{"line_number":1958,"context_line":"}"},{"line_number":1959,"context_line":"EOF"},{"line_number":1960,"context_line":"        chmod 644 $grub_dir/grub.cfg"}],"source_content_type":"application/x-shellscript","patch_set":19,"id":"7f287b81_1329199a","line":1957,"range":{"start_line":1957,"start_character":0,"end_line":1957,"end_character":63},"in_reply_to":"7f287b81_67fe5e39","updated":"2017-09-06 15:24:30.000000000","message":"Hi Ankit,I don\u0027t get correct boot when I set /opt/stack/data/ironic/tftpboot/ following example.","commit_id":"305a4280b7d6fc4537e2a6b75730674541b44ba0"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"6bcd289c79696094ce11008aa78be748467774c8","unresolved":false,"context_lines":[{"line_number":1649,"context_line":"            node_capabilities+\u003d\" --property capabilities\u003dboot_mode:uefi\""},{"line_number":1650,"context_line":"        fi"},{"line_number":1651,"context_line":"        if [[ \"$IRONIC_SECURE_BOOT\" \u003d\u003d \"True\" ]]; then"},{"line_number":1652,"context_line":"            node_capabilities\u003d\"$node_capabilities,secure_boot:true\""},{"line_number":1653,"context_line":"        fi"},{"line_number":1654,"context_line":""},{"line_number":1655,"context_line":"        if [[ \"$IRONIC_IS_HARDWARE\" \u003d\u003d \"False\" ]]; then"}],"source_content_type":"application/x-shellscript","patch_set":20,"id":"5f2577a7_e61a44ca","line":1652,"range":{"start_line":1652,"start_character":11,"end_line":1652,"end_character":67},"updated":"2017-09-14 14:31:10.000000000","message":"This is true only if node_capabilities is not NULL. One can have \u0027secure_boot\u0027 capability without \u0027boot_mode\u0027 being \u0027uefi\u0027.\n\nIt should be:\nif [[ \"$IRONIC_SECURE_BOOT\" \u003d\u003d \"True\" ]]; then\n    if [[ -n \"$node_capabilities\" ]]; then\n        node_capabilities+\u003d\",secure_boot:True\"\n    else\n        node_capabilities+\u003d\" --property capabilities\u003dsecure_boot:True\"\n    fi\nfi","commit_id":"d7fe077eed5b10a5efd24316130936b16ccd0587"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"40f772152bb0936d4b76e762b622ae07bc92d0cd","unresolved":false,"context_lines":[{"line_number":1649,"context_line":"            node_capabilities+\u003d\" --property capabilities\u003dboot_mode:uefi\""},{"line_number":1650,"context_line":"        fi"},{"line_number":1651,"context_line":"        if [[ \"$IRONIC_SECURE_BOOT\" \u003d\u003d \"True\" ]]; then"},{"line_number":1652,"context_line":"            node_capabilities\u003d\"$node_capabilities,secure_boot:true\""},{"line_number":1653,"context_line":"        fi"},{"line_number":1654,"context_line":""},{"line_number":1655,"context_line":"        if [[ \"$IRONIC_IS_HARDWARE\" \u003d\u003d \"False\" ]]; then"}],"source_content_type":"application/x-shellscript","patch_set":20,"id":"5f2577a7_ed61ea06","line":1652,"range":{"start_line":1652,"start_character":11,"end_line":1652,"end_character":67},"in_reply_to":"5f2577a7_e61a44ca","updated":"2017-09-15 08:42:17.000000000","message":"Done","commit_id":"d7fe077eed5b10a5efd24316130936b16ccd0587"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"3f6e1a7c82331a3d9fc49e41124dcd7100b1719c","unresolved":false,"context_lines":[{"line_number":2155,"context_line":""},{"line_number":2156,"context_line":"        sudo cp $IRONIC_GRUB2_SHIM_FILE $IRONIC_TFTPBOOT_DIR/bootx64.efi"},{"line_number":2157,"context_line":"        sudo cp $IRONIC_GRUB2_FILE $IRONIC_TFTPBOOT_DIR/grubx64.efi"},{"line_number":2158,"context_line":"        grub_fedora_dir\u003d$IRONIC_TFTPBOOT_DIR/EFI/fedora"},{"line_number":2159,"context_line":"        grub_dir\u003d$IRONIC_TFTPBOOT_DIR/grub"},{"line_number":2160,"context_line":"        mkdir -p $grub_fedora_dir $grub_dir"},{"line_number":2161,"context_line":"        cat \u003c\u003c EOF \u003e $grub_dir/grub.cfg"}],"source_content_type":"application/x-shellscript","patch_set":23,"id":"bf659307_798b2367","line":2158,"range":{"start_line":2158,"start_character":8,"end_line":2158,"end_character":55},"updated":"2018-04-02 05:48:11.000000000","message":"Since this section provides mechansims only for Ubuntu and Fedora, better to add a comment mentioning the same at the top of this section.","commit_id":"0723286e4aa60fa30a208fdcf591d1702ff5abc9"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"b19e9f43342376aad1595c5a8040840944738aec","unresolved":false,"context_lines":[{"line_number":2155,"context_line":""},{"line_number":2156,"context_line":"        sudo cp $IRONIC_GRUB2_SHIM_FILE $IRONIC_TFTPBOOT_DIR/bootx64.efi"},{"line_number":2157,"context_line":"        sudo cp $IRONIC_GRUB2_FILE $IRONIC_TFTPBOOT_DIR/grubx64.efi"},{"line_number":2158,"context_line":"        grub_fedora_dir\u003d$IRONIC_TFTPBOOT_DIR/EFI/fedora"},{"line_number":2159,"context_line":"        grub_dir\u003d$IRONIC_TFTPBOOT_DIR/grub"},{"line_number":2160,"context_line":"        mkdir -p $grub_fedora_dir $grub_dir"},{"line_number":2161,"context_line":"        cat \u003c\u003c EOF \u003e $grub_dir/grub.cfg"}],"source_content_type":"application/x-shellscript","patch_set":23,"id":"bf659307_58bf20a9","line":2158,"range":{"start_line":2158,"start_character":8,"end_line":2158,"end_character":55},"in_reply_to":"bf659307_798b2367","updated":"2018-04-03 11:44:55.000000000","message":"Done","commit_id":"0723286e4aa60fa30a208fdcf591d1702ff5abc9"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"3f6e1a7c82331a3d9fc49e41124dcd7100b1719c","unresolved":false,"context_lines":[{"line_number":2157,"context_line":"        sudo cp $IRONIC_GRUB2_FILE $IRONIC_TFTPBOOT_DIR/grubx64.efi"},{"line_number":2158,"context_line":"        grub_fedora_dir\u003d$IRONIC_TFTPBOOT_DIR/EFI/fedora"},{"line_number":2159,"context_line":"        grub_dir\u003d$IRONIC_TFTPBOOT_DIR/grub"},{"line_number":2160,"context_line":"        mkdir -p $grub_fedora_dir $grub_dir"},{"line_number":2161,"context_line":"        cat \u003c\u003c EOF \u003e $grub_dir/grub.cfg"},{"line_number":2162,"context_line":"set default\u003dmaster"},{"line_number":2163,"context_line":"set timeout\u003d5"}],"source_content_type":"application/x-shellscript","patch_set":23,"id":"bf659307_d97caf73","line":2160,"range":{"start_line":2160,"start_character":8,"end_line":2160,"end_character":43},"updated":"2018-04-02 05:48:11.000000000","message":"You dont need to create two directories. It needs to be only one based on the OS of the grub2 binary being used.","commit_id":"0723286e4aa60fa30a208fdcf591d1702ff5abc9"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"b19e9f43342376aad1595c5a8040840944738aec","unresolved":false,"context_lines":[{"line_number":2157,"context_line":"        sudo cp $IRONIC_GRUB2_FILE $IRONIC_TFTPBOOT_DIR/grubx64.efi"},{"line_number":2158,"context_line":"        grub_fedora_dir\u003d$IRONIC_TFTPBOOT_DIR/EFI/fedora"},{"line_number":2159,"context_line":"        grub_dir\u003d$IRONIC_TFTPBOOT_DIR/grub"},{"line_number":2160,"context_line":"        mkdir -p $grub_fedora_dir $grub_dir"},{"line_number":2161,"context_line":"        cat \u003c\u003c EOF \u003e $grub_dir/grub.cfg"},{"line_number":2162,"context_line":"set default\u003dmaster"},{"line_number":2163,"context_line":"set timeout\u003d5"}],"source_content_type":"application/x-shellscript","patch_set":23,"id":"bf659307_f8df140a","line":2160,"range":{"start_line":2160,"start_character":8,"end_line":2160,"end_character":43},"in_reply_to":"bf659307_d97caf73","updated":"2018-04-03 11:44:55.000000000","message":"Done","commit_id":"0723286e4aa60fa30a208fdcf591d1702ff5abc9"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"3f6e1a7c82331a3d9fc49e41124dcd7100b1719c","unresolved":false,"context_lines":[{"line_number":2158,"context_line":"        grub_fedora_dir\u003d$IRONIC_TFTPBOOT_DIR/EFI/fedora"},{"line_number":2159,"context_line":"        grub_dir\u003d$IRONIC_TFTPBOOT_DIR/grub"},{"line_number":2160,"context_line":"        mkdir -p $grub_fedora_dir $grub_dir"},{"line_number":2161,"context_line":"        cat \u003c\u003c EOF \u003e $grub_dir/grub.cfg"},{"line_number":2162,"context_line":"set default\u003dmaster"},{"line_number":2163,"context_line":"set timeout\u003d5"},{"line_number":2164,"context_line":"set hidden_timeout_quiet\u003dfalse"}],"source_content_type":"application/x-shellscript","patch_set":23,"id":"bf659307_59b73f3b","line":2161,"range":{"start_line":2161,"start_character":21,"end_line":2161,"end_character":39},"updated":"2018-04-02 05:48:11.000000000","message":"For Fedora this needs to go into $grub_fedora_dir.","commit_id":"0723286e4aa60fa30a208fdcf591d1702ff5abc9"},{"author":{"_account_id":19604,"name":"ankit","email":"ankit.dhn31@gmail.com","username":"ankit"},"change_message_id":"b19e9f43342376aad1595c5a8040840944738aec","unresolved":false,"context_lines":[{"line_number":2158,"context_line":"        grub_fedora_dir\u003d$IRONIC_TFTPBOOT_DIR/EFI/fedora"},{"line_number":2159,"context_line":"        grub_dir\u003d$IRONIC_TFTPBOOT_DIR/grub"},{"line_number":2160,"context_line":"        mkdir -p $grub_fedora_dir $grub_dir"},{"line_number":2161,"context_line":"        cat \u003c\u003c EOF \u003e $grub_dir/grub.cfg"},{"line_number":2162,"context_line":"set default\u003dmaster"},{"line_number":2163,"context_line":"set timeout\u003d5"},{"line_number":2164,"context_line":"set hidden_timeout_quiet\u003dfalse"}],"source_content_type":"application/x-shellscript","patch_set":23,"id":"bf659307_18e3e8da","line":2161,"range":{"start_line":2161,"start_character":21,"end_line":2161,"end_character":39},"in_reply_to":"bf659307_59b73f3b","updated":"2018-04-03 11:44:55.000000000","message":"Done","commit_id":"0723286e4aa60fa30a208fdcf591d1702ff5abc9"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"2b025e7755672e616457c298718ab2afdb731c13","unresolved":false,"context_lines":[{"line_number":490,"context_line":""},{"line_number":491,"context_line":"    if [[ \"$IRONIC_IPXE_ENABLED\" \u003d\u003d \"False\" ]]; then"},{"line_number":492,"context_line":"        if [[ -z $IRONIC_GRUB2_SHIM_FILE ]] || [[ -z $IRONIC_GRUB2_FILE ]] || [[ ! -f $IRONIC_GRUB2_SHIM_FILE ]] || [[ ! -f $IRONIC_GRUB2_FILE ]]; then"},{"line_number":493,"context_line":"            die $LINENO \"Grub2 Bootloader and Shim file missing.\""},{"line_number":494,"context_line":"        fi"},{"line_number":495,"context_line":"    fi"},{"line_number":496,"context_line":"fi"}],"source_content_type":"application/x-shellscript","patch_set":24,"id":"bf659307_f77e9ae2","line":493,"range":{"start_line":493,"start_character":42,"end_line":493,"end_character":45},"updated":"2018-04-11 10:12:11.000000000","message":"nit: Should it be \u0027or\u0027\ns/ and / or /","commit_id":"0f441ab5ba8e995888ea73c53e02f1a437cd0a12"},{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"2b025e7755672e616457c298718ab2afdb731c13","unresolved":false,"context_lines":[{"line_number":2146,"context_line":"    if [[ \"$IRONIC_IPXE_ENABLED\" \u003d\u003d \"False\" \u0026\u0026 \\"},{"line_number":2147,"context_line":"            ( \"$IRONIC_BOOT_MODE\" \u003d\u003d \"uefi\" || \"$IRONIC_SECURE_BOOT\" \u003d\u003d \"True\" ) \u0026\u0026 \\"},{"line_number":2148,"context_line":"            \"$IRONIC_UEFI_BOOT_LOADER\" \u003d\u003d \"grub2\" ]]; then"},{"line_number":2149,"context_line":"        local grub_dir"},{"line_number":2150,"context_line":""},{"line_number":2151,"context_line":"        echo \"re ^($IRONIC_TFTPBOOT_DIR/) $IRONIC_TFTPBOOT_DIR/\\2\"  \u003e$IRONIC_TFTPBOOT_DIR/map-file"},{"line_number":2152,"context_line":"        echo \"re ^$IRONIC_TFTPBOOT_DIR/ $IRONIC_TFTPBOOT_DIR/\"  \u003e\u003e$IRONIC_TFTPBOOT_DIR/map-file"}],"source_content_type":"application/x-shellscript","patch_set":24,"id":"bf659307_f4b8cdc8","line":2149,"range":{"start_line":2149,"start_character":8,"end_line":2149,"end_character":22},"updated":"2018-04-11 10:12:11.000000000","message":"Better to move this to L2158 where this variable is getting used.","commit_id":"0f441ab5ba8e995888ea73c53e02f1a437cd0a12"}]}
