Sha256: 70f515c27c8cf1452b3d33f87916e34de36e7c265dbd54daacc0f3b7724cbac6

Contents?: true

Size: 1.7 KB

Versions: 21

Compression:

Stored size: 1.7 KB

Contents

<%#
kind: provision
name: Katello Atomic Kickstart default
%>

lang <%= @host.params['lang'] || 'en_US.UTF-8' %>
keyboard <%= @host.params['keyboard'] || 'us' %>
timezone --utc <%= @host.params['time-zone'] || 'UTC' %>

# Partition table should create /boot and a volume atomicos
<% if @dynamic -%>
%include /tmp/diskpart.cfg
<% else -%>
<%= @host.diskLayout %>
<% end -%>

bootloader --timeout=3
text

<% if @host.os.name.match /.*fedora.*/i -%>
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=<%= @host.param_true?('atomic-upstream') ? "https://dl.fedoraproject.org/pub/fedora/linux/atomic/#{@host.os.major}/" : "#{@host.operatingsystem.medium_uri(@host)}/content/repo/" %> --ref=fedora-atomic/f<%= @host.os.major %>/<%= @host.architecture %>/docker-host
<% elsif @host.os.name.match /.*centos.*/i -%>
ostreesetup --nogpg --osname=centos-atomic-host --remote=centos-atomic-host --url=<%= @host.param_true?('atomic-upstream') ? "http://mirror.centos.org/centos/#{@host.os.major}/atomic/#{@host.architecture}/repo/" : @host.operatingsystem.medium_uri(@host) %> --ref=centos-atomic-host/<%= @host.os.major %>/<%= @host.architecture %>/standard
<% else -%>
ostreesetup --nogpg --osname=rhel-atomic-host --remote=rhel-atomic-host --url=file:///install/ostree --ref=rhel-atomic-host/<%= @host.os.major %>/<%= @host.architecture %>/standard
<% end -%>
services --disabled cloud-init,cloud-config,cloud-final,cloud-init-local
rootpw --iscrypted <%= root_pass %>

reboot

%post
<%= snippet "subscription_manager_registration" %>
<%= snippet('remote_execution_ssh_keys') %>
(
# Report success back to Foreman
curl -s -o /dev/null --insecure <%= foreman_url %>
) 2>&1 | tee /mnt/sysimage/root/install.post.log

exit 0

%end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
katello-3.3.0.rc1.1 app/views/foreman/unattended/kickstart-katello-atomic.erb
katello-3.3.0.rc1 app/views/foreman/unattended/kickstart-katello-atomic.erb
katello-3.2.1.1 app/views/foreman/unattended/kickstart-katello-atomic.erb
katello-3.2.1 app/views/foreman/unattended/kickstart-katello-atomic.erb
katello-3.2.0 app/views/foreman/unattended/kickstart-katello-atomic.erb
katello-3.2.0.rc3 app/views/foreman/unattended/kickstart-katello-atomic.erb
katello-3.2.0.rc2 app/views/foreman/unattended/kickstart-katello-atomic.erb
katello-3.2.0.rc1.1 app/views/foreman/unattended/kickstart-katello-atomic.erb
katello-3.2.0.rc1 app/views/foreman/unattended/kickstart-katello-atomic.erb
katello-3.1.0.1 app/views/foreman/unattended/kickstart-katello-atomic.erb
katello-3.1.0 app/views/foreman/unattended/kickstart-katello-atomic.erb
katello-3.1.0.rc2.1 app/views/foreman/unattended/kickstart-katello-atomic.erb
katello-3.0.2 app/views/foreman/unattended/kickstart-katello-atomic.erb
katello-3.1.0.rc1 app/views/foreman/unattended/kickstart-katello-atomic.erb
katello-3.0.1 app/views/foreman/unattended/kickstart-katello-atomic.erb
katello-3.0.0 app/views/foreman/unattended/kickstart-katello-atomic.erb
katello-3.0.0.rc7 app/views/foreman/unattended/kickstart-katello-atomic.erb
katello-3.0.0.rc5 app/views/foreman/unattended/kickstart-katello-atomic.erb
katello-3.0.0.rc4 app/views/foreman/unattended/kickstart-katello-atomic.erb
katello-3.0.0.rc3 app/views/foreman/unattended/kickstart-katello-atomic.erb