Skip to content

Commit

Permalink
Fixes #36677 - Added BOOTIF-parameter to autoinstall kernel_options
Browse files Browse the repository at this point in the history
  • Loading branch information
jtruestedt committed Aug 14, 2023
1 parent 9df48cc commit c375ea9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_on:
userdata_option = "ds=nocloud-net;s=http://#{foreman_request_addr}/userdata/#{mac ? mac + '/' : ''}"
options = []

if mac
options << "BOOTIF=#{@host.mac}"
end

if host_param('blacklist')
options << host_param('blacklist').split(',').collect{|x| "#{x.strip}.blacklist=yes"}.join(' ')
end
Expand Down

0 comments on commit c375ea9

Please sign in to comment.