I found a solution that works for me:
By default in xenial documentation:
d-i apt-setup/local0/repository string http://local.server/ubuntu xenial main
But only adding word "deb" before the URL it works:
d-i apt-setup/local0/repository string deb http://local.server/ubuntu xenial main
I found a solution that works for me:
By default in xenial documentation:
d-i apt-setup/ local0/ repository string http:// local.server/ ubuntu xenial main
But only adding word "deb" before the URL it works:
d-i apt-setup/ local0/ repository string deb http:// local.server/ ubuntu xenial main