System Administration >
Configuration
>
Grub
Update node GRUB properties
Update node GRUB properties.
Note:
To update user properties like password, user is expected to use
/node/grub/<grub-username>
Request:
Method:
PUT
URI Path(s):
/api/v1/transport-nodes/{transport-node-id}/node/grub
/api/v1/cluster/{cluster-node-id}/node/grub
/api/v1/node/grub
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
NodeGrubProperties
+
NodeGrubProperties
(
schema
)
Name
Description
Type
Notes
timeout
GRUB menu timeout value in seconds
integer
Minimum: 0
Maximum: 2147483647
users
List of node GRUB user properties
array of
NodeGrubUserProperties
Example Request:
PUT https://<nsx-mgr>/api/v1/node/grub { "timeout": 4 }
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
NodeGrubProperties
+
NodeGrubProperties
(
schema
)
Name
Description
Type
Notes
timeout
GRUB menu timeout value in seconds
integer
Minimum: 0
Maximum: 2147483647
users
List of node GRUB user properties
array of
NodeGrubUserProperties
Example Response:
{ "timeout": 4 }
Required Permissions:
crud
Feature:
system_administration_passwd_mgmt
Additional Errors:
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
412 Precondition Failed
500 Internal Server Error
503 Service Unavailable