theforeman/foreman-digitalocean

View on GitHub
app/views/images/form/_digitalocean.html.erb

Summary

Maintainability
Test Coverage
<%= text_f f,
  :username,
  :value => @image.username || "root",
  :help_inline => _("The user that is used to ssh into the instance, normally cloud-user, ec2-user, ubuntu, root etc") %>
<%= digitalocean_image_field(f) %>
<%= checkbox_f f, :user_data, :help_inline => _("Does this image support user data input (e.g. via cloud-init)?") %>