I ran into that exact same error just today and it ended up being a format 
error in my user data template. It rendered fine in the web UI, but vmware 
didn't like it for some reason. Here is the one I am currently using (in 
Sat 6.2) which is working for me.

identity:
  LinuxPrep:
    domain: <%= @host.domain%>
    hostName: <%= @host.shortname%>

globalIPSettings:
  dnsServerList: [<%= @host.primary_interface.subnet.dns_primary %>, <%= 
@host.primary_interface.subnet.dns_secondary %>]
  dnsSuffixList: [<%= @host.domain %>]

nicSettingMap:
<% @host.interfaces.each do |interface| %>
  - adapter:
      ip: <%= interface.ip %>
      subnetMask: <%= interface.subnet.mask %>
      <% if interface.primary -%>gateway: [<%= interface.subnet.gateway 
%>]<% end %>
<% end %>

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to