Path: | lib/boxgrinder-build-rpm-based-os-plugin/src/appliance.ks.erb |
Last Update: | Wed Feb 09 10:35:38 +0000 2011 |
lang en_US.UTF-8 keyboard us timezone US/Eastern auth —useshadow —enablemd5 selinux —permissive firewall —disabled bootloader —timeout=1 —append="acpi=force scsi_mod.scan=sync" firstboot —disabled
<% if graphical %> xconfig —startxonboot services —enabled=NetworkManager —disabled=network <% else %> network —bootproto=dhcp —device=eth0 —onboot=on services —enabled=network <% end %>
rootpw <%= root_password %>
<% partitions.each do |root, partition| %> part <%= root %> —size <%= (partition[‘size’].to_f * 1024).to_i %> —fstype <%= partition[‘type’] %> <% unless partition[‘options’].nil? %> —fsoptions ’<%= partition[‘options’] %>’ <% end %> <% if partition[‘passphrase’] %> —encrypted —passphrase=’<%= partition[‘passphrase’] %>’ <% end %> —ondisk sda<% end %>
<% for repo in repos %> <%= repo %><% end %>
%packages
<% for package in packages %>
<%= package %><% end %>
%end %post
<% if graphical %> chkconfig —level 345 firstboot off 2>/dev/null<% end %>
%end