Skip to content

Commit

Permalink
Fixes #31962 - changed preseed-iPXE to set domain for bootdisk-deploy…
Browse files Browse the repository at this point in the history
…ments
  • Loading branch information
jtruestedt authored and tbrisker committed Mar 10, 2021
1 parent 85eb8ed commit 2bb8a0e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ oses:
- Ubuntu
%>
<% if @host.operatingsystem.name == 'Debian' -%>
<%- keyboard_params = "auto=true domain=#{@host.domain}" -%>
<%- keyboard_params = "auto=true" -%>
<% else -%>
<%- keyboard_params = 'console-setup/ask_detect=false console-setup/layout=USA console-setup/variant=USA keyboard-configuration/layoutcode=us' -%>
<% end -%>
Expand All @@ -31,7 +31,7 @@ ping --count 1 ${netX/dns} || echo Ping to DNS failed or ping command not availa
<% kernel = boot_files_uris[0] -%>
<% initrd = boot_files_uris[1] -%>

kernel <%= kernel %> initrd=initrd.img interface=auto url=<%= foreman_url('provision')%><%= provision_url_suffix %> ramdisk_size=10800 root=/dev/rd/0 rw auto BOOTIF=01-${netX/mac:hexhyp} hostname=<%= @host.name %> <%= keyboard_params %> locale=<%= host_param('lang') || 'en_US' %> <%= netcfg_args %>
kernel <%= kernel %> initrd=initrd.img interface=auto url=<%= foreman_url('provision')%><%= provision_url_suffix %> ramdisk_size=10800 root=/dev/rd/0 rw auto BOOTIF=01-${netX/mac:hexhyp} hostname=<%= @host.name %> domain=<%= @host.domain %> <%= keyboard_params %> locale=<%= host_param('lang') || 'en_US' %> <%= netcfg_args %>
initrd <%= initrd %>

boot

0 comments on commit 2bb8a0e

Please sign in to comment.