Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SyntaxError (compile error
- (erb):14: syntax error, unexpected ';'
- ; for profile in @profiles -; _erbout.concat "\nLABEL "
- ^
- (erb):17: syntax error, unexpected ';'
- ...eratingsystem.is_a?(Redhat) -; _erbout.concat "\n append...
- ^
- (erb):19: syntax error, unexpected kELSE, expecting $end
- ; else -; _erbout.concat "\n append initrd="
- ^):
- (erb):19:in `generate_pxe_template'
- app/models/orchestration/tftp.rb:84:in `generate_pxe_template'
- app/models/orchestration/tftp.rb:33:in `setTFTP'
- This is the template:
- <% for profile in @profiles -%>
- LABEL <%= "#{profile[:template]} - #{profile[:hostgroup]}" %>
- kernel <%= profile[:hostgroup].operatingsystem.kernel(profile[:hostgroup].architecture) %>
- <% if profile[:hostgroup].operatingsystem.is_a?(Redhat) -%>
- append initrd=<%= profile[:hostgroup].operatingsystem.initrd(profile[:hostgroup].architecture) %> ks=<%= default_template_url(profile[:template], profile[:hostgroup]) %> ksdevice=bootif network kssendmac
- <% else -%>
- ...
Add Comment
Please, Sign In to add comment