)]}'
{"ironic_python_agent/extensions/image.py":[{"author":{"_account_id":11292,"name":"Arne Wiebalck","email":"Arne.Wiebalck@cern.ch","username":"wiebalck"},"change_message_id":"bc99e699742964047ffad2f36527bc4b87a3c434","unresolved":false,"context_lines":[{"line_number":188,"context_line":"                contents \u003d g.read()"},{"line_number":189,"context_line":"            with open(\u0027%s/etc/default/grub\u0027 % path, \u0027w\u0027) as g:"},{"line_number":190,"context_line":"                g.write("},{"line_number":191,"context_line":"                    re.sub(r\u0027GRUB_CMDLINE_LINUX_DEFAULT\u003d\"(.*)\"\u0027,"},{"line_number":192,"context_line":"                           r\u0027GRUB_CMDLINE_LINUX_DEFAULT\u003d\"\\1 %s\"\u0027"},{"line_number":193,"context_line":"                           % \" \".join(rd_md_uuids),"},{"line_number":194,"context_line":"                           contents))"},{"line_number":195,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"3fa7e38b_ceac17a1","line":192,"range":{"start_line":191,"start_character":0,"end_line":192,"end_character":64},"updated":"2019-10-09 16:08:29.000000000","message":"This assumes \"GRUB_CMDLINE_LINUX_DEFAULT\" exists in /etc/default/grub (which does not seem to be necessarily the case).\n\nSo, I\u0027d suggest to either:\n- use \"GRUB_CMDLINE_LINUX\" (not 100% sure this will be there either), or\n- check for the existing of \"GRUB_CMDLINE_LINUX_DEFAULT\", add it if not there and patch if it is there.","commit_id":"d09e489a6e3f5ee6fa05ed836b4f8d9bda15bb4a"}]}
