Apply onboarding choices for existing host configuration
POST/doctor/host-config
Required role: admin. Only an account or token with the admin role can call this operation.
Example request
curl --request POST \
--header "Authorization: Bearer $HOSERVA_TOKEN" \
--header "Content-Type: application/json" \
--data @body.json \
"https://$HOSERVA_HOST:8008/api/v1/doctor/host-config"
Each detected Samba file, NFS exports file, fstab, Docker containers list and images list is imported into the database or left unmanaged under the drift model. Existing host files are never overwritten unless the caller chose import. Docker's data-root stays at /var/lib/docker when containers or images exist, or when there is no cache disk.
Request
Responses
- 200
- default
Applied choices.
An error response.