Revision ca34010f
Added by Shimon Shtein about 1 month ago
app/views/unattended/provisioning_templates/finish/kickstart_default_finish.erb | ||
---|---|---|
%>
|
||
|
||
<%= snippet_if_exists(template_name + " custom pre") -%>
|
||
<% if @host.subnet.respond_to?(:dhcp_boot_mode?) -%>
|
||
<%= snippet 'kickstart_networking_setup' %>
|
||
<% if (rhel_compatible && os_major >= 8) -%>
|
||
systemctl restart NetworkManager
|
||
<% else -%>
|
||
service network restart
|
||
<% end -%>
|
||
<% end -%>
|
||
|
||
<% if @host.provision_method == 'image' && root_pass.present? -%>
|
||
# Install the root password
|
Also available in: Unified diff
Fixes #37367 - Switch to 'network' directive instead of ifcfg