Skip to content

Commit 78e5b78

Browse files
lzapdomcleal
authored andcommittedSep 9, 2016
Refs #12635 - added migration for new grub tftp dirs (#197)
1 parent 0a08401 commit 78e5b78

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
if answers['foreman_proxy']
2+
root = answers['foreman_proxy']['tftp_root']
3+
if answers['foreman_proxy']['tftp_dirs']
4+
dirs = answers['foreman_proxy']['tftp_dirs']
5+
dirs << "#{root}/grub"
6+
dirs << "#{root}/grub2"
7+
dirs.uniq!
8+
end
9+
end

0 commit comments

Comments
 (0)
Please sign in to comment.