Project

General

Profile

« Previous | Next » 

Revision d9a44dd0

Added by Daniel Lobato Garcia over 6 years ago

Release 1.16.0-RC1

View differences:

app/views/unattended/provisioning_templates/provision/autoyast_default.erb
<%
# safemode renderer does not support unary negation
pm_set = @host.puppetmaster.empty? ? false : true
puppet_enabled = pm_set || @host.param_true?('force-puppet')
salt_enabled = @host.params['salt_master'] ? true : false
puppet_enabled = pm_set || host_param_true?('force-puppet')
salt_enabled = host_param('salt_master') ? true : false
primary_interface_identifier = @host.primary_interface.identifier.blank? ? 'eth0' : @host.primary_interface.identifier
primary_interface_subnet = @host.primary_interface.subnet
......
<configure_dhcp config:type="boolean">false</configure_dhcp>
<peers config:type="list">
<peer>
<address><%= @host.params['ntp-server'] || '0.opensuse.pool.ntp.org' %></address>
<address><%= host_param('ntp-server') || '0.opensuse.pool.ntp.org' %></address>
<initial_sync config:type="boolean">true</initial_sync>
<options></options>
<type>server</type>
......
</keyboard>
<timezone>
<hwclock>UTC</hwclock>
<timezone><%= @host.params['time-zone'] || 'Etc/UTC' %></timezone>
<timezone><%= host_param('time-zone') || 'Etc/UTC' %></timezone>
</timezone>
</profile>

Also available in: Unified diff