Revision e8e6a960
Added by Dominic Cleal about 10 years ago
app/views/unattended/autoyast/provision_sles.erb | ||
---|---|---|
<?xml version="1.0" encoding="UTF-8"?>
|
||
<%#
|
||
kind: provision
|
||
name: Community AutoYaST SLES
|
||
name: AutoYaST SLES default
|
||
oses:
|
||
- SLES 11
|
||
%>
|
||
... | ... | |
<package>puppet</package>
|
||
<package>rubygem-ruby-augeas</package>
|
||
<% end -%>
|
||
<package>wget</package>
|
||
</packages>
|
||
</software>
|
||
<users config:type="list">
|
||
... | ... | |
</user>
|
||
</users>
|
||
<scripts>
|
||
<post-scripts config:type="list">
|
||
<chroot-scripts config:type="list">
|
||
<script>
|
||
<filename>post.sh</filename>
|
||
<filename>cp-resolv.sh</filename>
|
||
<chrooted config:type="boolean">false</chrooted>
|
||
<interpreter>shell</interpreter>
|
||
<notification>Copying resolv.conf into chroot ...</notification>
|
||
<source><![CDATA[
|
||
cp /etc/resolv.conf /mnt/etc
|
||
]]>
|
||
</source>
|
||
</script>
|
||
<script>
|
||
<filename>foreman.sh</filename>
|
||
<chrooted config:type="boolean">true</chrooted>
|
||
<interpreter>shell</interpreter>
|
||
<network_needed config:type="boolean">true</network_needed>
|
||
<notification>Setting up Puppet / Foreman ...</notification>
|
||
<debug config:type="boolean">true</debug>
|
||
<source><![CDATA[
|
||
<% if puppet_enabled %>
|
||
cat > /etc/puppet/puppet.conf << EOF
|
||
... | ... | |
/sbin/chkconfig puppet on -f
|
||
<% end -%>
|
||
|
||
/usr/bin/wget -q -O /dev/null --no-check-certificate <%= foreman_url %>
|
||
/usr/bin/curl -o /dev/null -k '<%= foreman_url %>'
|
||
|
||
rm /etc/resolv.conf
|
||
]]>
|
||
</source>
|
||
</script>
|
||
</post-scripts>
|
||
</chroot-scripts>
|
||
</scripts>
|
||
<keyboard>
|
||
<keymap>english-us</keymap>
|
Also available in: Unified diff
templates - sync from community-templates