Project

General

Profile

Actions

Bug #2786

closed

d-i apt-setup index starts at 0

Added by Jeremy Kitchen almost 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

In the default preseed template as ships with the foreman, the "enable puppetlabs repo" feature is broken.

d-i apt-setup/local1/repository string \
http://apt.puppetlabs.com/ <%= @host.operatingsystem.release_name %> main
d-i apt-setup/local1/comment string Puppetlabs packages
d-i apt-setup/local1/key string http://apt.puppetlabs.com/pubkey.gpg

This doesn't work because the scripts start at index 0, so it never adds these repos.

I'll have a PR for this in a moment

Actions

Also available in: Atom PDF