We are using a preseed.cfg via preseed/url to automate system deployment/configuration. The preseed files are kept in source control (Subversion). This makes them readily available via HTTP, with the added bonus of being able to limit access. I'd like to reuse this resource, but I have not been able to find any way to use a preseed/url that requires authentication. Is it possible to use a preseed url that requires authentication?
Asked
Active
Viewed 483 times
1
-
3I can't test right now, but how about including the auth in your URL? `http://username:password@server.example.com/path/to/preseed.cfg` – Shane Madden Aug 17 '12 at 00:59
-
Looks like that does work in this case. I'll give you credit if you post as answer. Thanks! – Randolph Aug 17 '12 at 17:12
1 Answers
3
HTTP authorization info can be included in the URL, which most HTTP clients will translate automatically into the correct authorization headers:
http://username:password@server.example.com/path/to/preseed.cfg
This should do the trick!

Shane Madden
- 114,520
- 13
- 181
- 251