Sha256: 4535183a07f3bda7d0a206a54a5fa5bf40965faa2baac2c8526f0f0e6a0c1bc8

Contents?: true

Size: 1.16 KB

Versions: 8

Compression:

Stored size: 1.16 KB

Contents

lang en_US.UTF-8
keyboard us
timezone US/Eastern
auth --useshadow --enablemd5
selinux --permissive
firewall --disabled
bootloader --timeout=1
firstboot --disabled

<% if graphical %>
xconfig --startxonboot
services --enabled=NetworkManager --disabled=network
<% else %>
network --bootproto=dhcp --device=eth0 --onboot=on
services --enabled=network
<% end %>

rootpw --iscrypted <%= appliance_config.os.password.crypt((0...8).map { 65.+(rand(25)).chr }.join) %>

# appliance-creator doesn't support labels...
# --label Zlib.crc32(root).to_s(16)

<% mount_points.each do |root| %>
<% partition = appliance_config.hardware.partitions[root]%>
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

<% appliance_config.packages.each do |package| %>
  <%= package %><% end %>
%end
%post

<% if graphical %>
chkconfig --level 345 firstboot off 2>/dev/null<% end %>

%end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
boxgrinder-build-0.9.5.3 lib/boxgrinder-build/plugins/os/rpm-based/src/appliance.ks.erb
boxgrinder-build-0.9.5.2 lib/boxgrinder-build/plugins/os/rpm-based/src/appliance.ks.erb
boxgrinder-build-0.9.5.1 lib/boxgrinder-build/plugins/os/rpm-based/src/appliance.ks.erb
boxgrinder-build-0.9.5 lib/boxgrinder-build/plugins/os/rpm-based/src/appliance.ks.erb
boxgrinder-build-0.9.4 lib/boxgrinder-build/plugins/os/rpm-based/src/appliance.ks.erb
boxgrinder-build-0.9.3 lib/boxgrinder-build/plugins/os/rpm-based/src/appliance.ks.erb
boxgrinder-build-0.9.2 lib/boxgrinder-build/plugins/os/rpm-based/src/appliance.ks.erb
boxgrinder-build-0.9.1 lib/boxgrinder-build/plugins/os/rpm-based/src/appliance.ks.erb