# Define TimeZone for this OS <% if @obj.nil? -%> os.<%= @name -%> do |timezone| <% else -%> os.<%= @name -%> do |timezone| <% end -%>
# Should the OS use UTC. By default this is true. <% if @obj.nil? || @obj.utc.nil? -%> #timezone.utc = true <% else -%> timezone.utc = <%= @obj.utc %> <% end -%> # Specify the timezone for this OS. If you do not want to specify # it be sure to enable the auto option to discover the time zone # automatically based on the host IP address. <% if @obj.nil? || @obj.zone.nil? -%> #timezone.zone = 'US/Eastern' <% else -%> timezone.zone = '<%= @obj.zone -%>' <% end -%> # Set this to true, if you want timezone to be automatic. <% if @obj.nil? || @obj.auto.nil? -%> #timezone.auto = false <% else -%> timezone.auto = <%= @obj.auto %> <% end -%>
<% if @obj.nil? -%> end <% else -%> end <% end -%>