Skip to content

Commit

Permalink
Refs #12635 - added migration for new grub tftp dirs (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
lzap authored and domcleal committed Sep 9, 2016
1 parent 0a08401 commit 78e5b78
Showing 1 changed file with 9 additions and 0 deletions.
@@ -0,0 +1,9 @@
if answers['foreman_proxy']
root = answers['foreman_proxy']['tftp_root']
if answers['foreman_proxy']['tftp_dirs']
dirs = answers['foreman_proxy']['tftp_dirs']
dirs << "#{root}/grub"
dirs << "#{root}/grub2"
dirs.uniq!
end
end

0 comments on commit 78e5b78

Please sign in to comment.