Skip to content

split host aliases to multi line if the hostaliases for localhost more than 9 (windows referenece)

Prima requested to merge prima101112/gitlab-runner:split-hostaliases into main
  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

What does this MR do?

make hostaliases to multiline per 9 host 9 is max host names that could resolve in windows https://superuser.com/questions/932112/is-there-a-maximum-number-of-hostname-aliases-per-line-in-a-windows-hosts-file#answer-932113 as a baseline

Why was this MR needed?

it will be may not needed for most of us but it will fix #37510

What's the best way to test this MR?

doing variables and many service till it exeed the limit of the image that we are using

What are the relevant issue numbers?

#37510

Edited by 🤖 GitLab Bot 🤖

Merge request reports