Skip to content
Permalink
Browse files
Refs #12635 - added migration for new grub tftp dirs (#197)
  • Loading branch information
lzap authored and domcleal committed Sep 9, 2016
1 parent 0a08401 commit 78e5b78360daa21df1d2541994abd8e2849ed947
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.