Skip to content

Instantly share code, notes, and snippets.

@stbenjam
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stbenjam/11299095 to your computer and use it in GitHub Desktop.
Save stbenjam/11299095 to your computer and use it in GitHub Desktop.
network --bootproto static --ip=<%= @host.ip %> --netmask=<%= @host.subnet.mask %> --gateway=<%= @host.subnet.gateway %> --nameserver=<%= [@host.subnet.dns_primary,@host.subnet.dns_secondary].reject{|n| n.blank?}.join(',') %> --hostname <%= @host %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment