Project

General

Profile

Bug #21738 ยป configure_grub_default.json

Nicolas CHARLES, 2022-09-08 14:41

 
{
"type": "ncf_technique",
"version": "3.0",
"data": {
"id": "configure_grub_default",
"version": "1.0",
"name": "Configure grub default",
"description": "",
"category": "ncf_techniques",
"parameter": [],
"calls": [
{
"component": "File key-value parameter in list",
"id": "15d8d917-944c-4791-89a0-c726084764a1",
"method": "file_key_value_parameter_present_in_list",
"condition": "",
"parameters": [
{
"name": "path",
"value": "/etc/default/grub"
},
{
"name": "key",
"value": "GRUB_CMDLINE_LINUX"
},
{
"name": "key_value_separator",
"value": "="
},
{
"name": "parameter",
"value": "rudder"
},
{
"name": "parameter_separator",
"value": " "
},
{
"name": "leading_char_separator",
"value": "\""
},
{
"name": "closing_char_separator",
"value": "\""
}
],
"disableReporting": false
},
{
"component": "File key-value parameter in list",
"id": "f5d36117-63b9-438e-ad94-9a36a770289d",
"method": "file_key_value_parameter_present_in_list",
"condition": "",
"parameters": [
{
"name": "path",
"value": "/etc/default/grub"
},
{
"name": "key",
"value": "GRUB_CMDLINE_LINUX"
},
{
"name": "key_value_separator",
"value": "="
},
{
"name": "parameter",
"value": "crashkernel=256M"
},
{
"name": "parameter_separator",
"value": " "
},
{
"name": "leading_char_separator",
"value": "\""
},
{
"name": "closing_char_separator",
"value": "\""
}
],
"disableReporting": false
},
{
"component": "File key-value parameter not in list",
"id": "44c10bd3-3760-41dd-85a3-2cd07d4a5285",
"method": "file_key_value_parameter_absent_in_list",
"condition": "",
"parameters": [
{
"name": "path",
"value": "/etc/default/grub"
},
{
"name": "key",
"value": "GRUB_CMDLINE_LINUX_DEFAULT"
},
{
"name": "key_value_separator",
"value": "="
},
{
"name": "parameter_regex",
"value": "quiet"
},
{
"name": "parameter_separator",
"value": " "
},
{
"name": "leading_char_separator",
"value": "\""
},
{
"name": "closing_char_separator",
"value": "\""
}
],
"disableReporting": false
}
],
"resources": []
}
}
    (1-1/1)