diff --git a/v1/api/swagger/paths/hosts@{hostId}@reimage.yaml b/v1/api/swagger/paths/hosts@{hostId}@reimage.yaml index 89cae440..eca0a011 100644 --- a/v1/api/swagger/paths/hosts@{hostId}@reimage.yaml +++ b/v1/api/swagger/paths/hosts@{hostId}@reimage.yaml @@ -5,6 +5,7 @@ post: summary: Reimage Host by ID description: >- Re-deploys a host to the same machine. + Warning, all drives will be erased! Only the Host OS is reinstalled, IP addresses, volumes, etc are not changed. The host must be powered off. The host must also be in the Ready state. operationId: reimage diff --git a/v1/pkg/client/api/openapi.yaml b/v1/pkg/client/api/openapi.yaml index 047e320a..461094c1 100644 --- a/v1/pkg/client/api/openapi.yaml +++ b/v1/pkg/client/api/openapi.yaml @@ -1177,9 +1177,10 @@ paths: summary: Set a specific host to attempt HDD boot /hosts/{hostId}/reimage: post: - description: Re-deploys a host to the same machine. Only the Host OS is reinstalled, - IP addresses, volumes, etc are not changed. The host must be powered off. The - host must also be in the Ready state. + description: Re-deploys a host to the same machine. Warning, all drives will + be erased! Only the Host OS is reinstalled, IP addresses, volumes, etc are + not changed. The host must be powered off. The host must also be in the Ready + state. operationId: reimage parameters: - description: ID of Host to reimage diff --git a/v1/pkg/client/api_hosts.go b/v1/pkg/client/api_hosts.go index e6566828..4846e85c 100644 --- a/v1/pkg/client/api_hosts.go +++ b/v1/pkg/client/api_hosts.go @@ -1506,7 +1506,7 @@ func (a *HostsApiService) PowerReset(ctx _context.Context, hostId string) (Host, /* Reimage Reimage Host by ID -Re-deploys a host to the same machine. Only the Host OS is reinstalled, IP addresses, volumes, etc are not changed. The host must be powered off. The host must also be in the Ready state. +Re-deploys a host to the same machine. Warning, all drives will be erased! Only the Host OS is reinstalled, IP addresses, volumes, etc are not changed. The host must be powered off. The host must also be in the Ready state. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param hostId ID of Host to reimage @return Host diff --git a/v1/pkg/client/docs/HostsApi.md b/v1/pkg/client/docs/HostsApi.md index 4d62e920..f43f2e28 100644 --- a/v1/pkg/client/docs/HostsApi.md +++ b/v1/pkg/client/docs/HostsApi.md @@ -375,7 +375,7 @@ Name | Type | Description | Notes Reimage Host by ID -Re-deploys a host to the same machine. Only the Host OS is reinstalled, IP addresses, volumes, etc are not changed. The host must be powered off. The host must also be in the Ready state. +Re-deploys a host to the same machine. Warning, all drives will be erased! Only the Host OS is reinstalled, IP addresses, volumes, etc are not changed. The host must be powered off. The host must also be in the Ready state. ### Required Parameters diff --git a/v1/pkg/client/interface_hosts.go b/v1/pkg/client/interface_hosts.go index 4bf4d1ee..5da793ec 100644 --- a/v1/pkg/client/interface_hosts.go +++ b/v1/pkg/client/interface_hosts.go @@ -102,7 +102,7 @@ type HostsAPI interface { PowerReset(ctx _context.Context, hostId string) (Host, *_nethttp.Response, error) /* Reimage Reimage Host by ID - Re-deploys a host to the same machine. Only the Host OS is reinstalled, IP addresses, volumes, etc are not changed. The host must be powered off. The host must also be in the Ready state. + Re-deploys a host to the same machine. Warning, all drives will be erased! Only the Host OS is reinstalled, IP addresses, volumes, etc are not changed. The host must be powered off. The host must also be in the Ready state. - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param hostId ID of Host to reimage