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 #2

Updated by Greg Sutcliffe almost 11 years ago

As per Dominic's suggestion, could you submit this to: https://github.com/theforeman/community-templates. Thanks!

Actions #3

Updated by Lukas Zapletal almost 11 years ago

  • Category set to Templates
  • Target version set to 1.3.0
Actions #4

Updated by Lukas Zapletal over 10 years ago

  • Description updated (diff)
  • Target version deleted (1.3.0)
Actions #5

Updated by Anonymous over 10 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF