2020-04-28 23:43:47 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!DOCTYPE profile SYSTEM "/usr/share/YaST2/include/autoinstall/profile.dtd">
|
|
|
|
<profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns" xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
|
|
<general>
|
|
|
|
<clock>
|
|
|
|
<hwclock>UTC</hwclock>
|
|
|
|
<xi:include href="file:///tmp/timezone"/>
|
|
|
|
</clock>
|
|
|
|
<mode>
|
|
|
|
<confirm config:type="boolean">false</confirm>
|
|
|
|
</mode>
|
|
|
|
</general>
|
|
|
|
<add-on>
|
|
|
|
<add_on_products config:type="list">
|
|
|
|
<listentry><xi:include href="file:///tmp/pkgurl"/><product>sle-module-basesystem</product><product_dir>/Module-Basesystem</product_dir></listentry>
|
|
|
|
<listentry><xi:include href="file:///tmp/pkgurl"/><product>sle-module-hpc</product><product_dir>/Module-HPC</product_dir></listentry>
|
|
|
|
<listentry><xi:include href="file:///tmp/pkgurl"/><product>sle-module-server-applications</product><product_dir>/Module-Server-Applications</product_dir></listentry>
|
|
|
|
<listentry><xi:include href="file:///tmp/pkgurl"/><product>sle-module-containers</product><product_dir>/Module-Containers</product_dir></listentry>
|
|
|
|
<listentry><xi:include href="file:///tmp/pkgurl"/><product>SLE_HPC</product><product_dir>/Product-HPC</product_dir></listentry>
|
|
|
|
<listentry><xi:include href="file:///tmp/pkgurl"/><product>Legacy-Module</product><product_dir>/Module-Legacy</product_dir></listentry>
|
|
|
|
</add_on_products>
|
|
|
|
</add-on>
|
|
|
|
<software>
|
|
|
|
<products config:type="list">
|
|
|
|
<product>SLE_HPC</product>
|
|
|
|
</products>
|
|
|
|
<patterns config:type="list">
|
|
|
|
<pattern>base</pattern>
|
|
|
|
</patterns>
|
|
|
|
<packages config:type="list">
|
|
|
|
<package>openssl</package>
|
|
|
|
<package>chrony</package>
|
|
|
|
<package>rsync</package>
|
|
|
|
<package>screen</package>
|
|
|
|
<package>vim</package>
|
|
|
|
<package>binutils</package>
|
|
|
|
<package>pciutils</package>
|
|
|
|
<package>usbutils</package>
|
|
|
|
<package>nfs-client</package>
|
|
|
|
<package>ethtool</package>
|
|
|
|
</packages>
|
|
|
|
</software>
|
|
|
|
<partitioning config:type="list">
|
|
|
|
<drive>
|
|
|
|
<device>%%INSTDISK%%</device>
|
|
|
|
<initialize config:type="boolean">true</initialize>
|
|
|
|
<use>all</use>
|
|
|
|
<type config:type="symbol">CT_LVM</type>
|
|
|
|
</drive>
|
|
|
|
</partitioning>
|
|
|
|
<users config:type="list">
|
|
|
|
<user>
|
|
|
|
<username>root</username>
|
|
|
|
<user_password>%%ROOTPASSWORD%%</user_password>
|
|
|
|
<encrypted config:type="boolean">true</encrypted>
|
|
|
|
<xi:include href="file:///tmp/rootkeys.xml"/>
|
|
|
|
</user>
|
|
|
|
</users>
|
|
|
|
<networking>
|
|
|
|
<dns>
|
|
|
|
<hostname>%%NODENAME%%</hostname>
|
|
|
|
</dns>
|
|
|
|
<keep_install_network config:type="boolean">true</keep_install_network>
|
|
|
|
</networking>
|
|
|
|
<services-manager>
|
|
|
|
<services>
|
|
|
|
<enable config:type="list">
|
|
|
|
<service>sshd</service>
|
|
|
|
</enable>
|
|
|
|
</services>
|
|
|
|
</services-manager>
|
|
|
|
<scripts>
|
|
|
|
<pre-scripts config:type="list">
|
|
|
|
<script>
|
2020-05-14 17:36:23 +00:00
|
|
|
<filename>preinstall.sh</filename>
|
2020-04-28 23:43:47 +00:00
|
|
|
<interpreter>shell</interpreter>
|
|
|
|
<source>
|
|
|
|
<![CDATA[
|
|
|
|
#!/bin/sh
|
2020-05-15 23:11:22 +00:00
|
|
|
mgr=$(grep ^deploy_server /tmp/confluent.deploycfg|awk '{print $2}')
|
2020-05-14 18:49:53 +00:00
|
|
|
profile=$(grep ^profile: /tmp/confluent.deploycfg|sed -e 's/^profile: //')
|
2020-05-14 17:36:23 +00:00
|
|
|
proto=$(grep ^protocol: /tmp/confluent.deploycfg |awk '{print $2}')
|
|
|
|
curl $proto://$mgr/confluent-public/os/$profile/scripts/pre.sh > /tmp/pre.sh
|
|
|
|
. /tmp/pre.sh
|
2020-04-28 23:43:47 +00:00
|
|
|
]]>
|
|
|
|
</source>
|
|
|
|
</script>
|
|
|
|
</pre-scripts>
|
|
|
|
<chroot-scripts config:type="list">
|
|
|
|
<script>
|
|
|
|
<filename>chroot.sh</filename>
|
|
|
|
<interpreter>shell</interpreter>
|
|
|
|
<source>
|
|
|
|
<![CDATA[
|
|
|
|
#!/bin/sh
|
2020-05-15 23:11:22 +00:00
|
|
|
mgr=$(grep ^deploy_server /tmp/confluent.deploycfg|awk '{print $2}')
|
2020-05-14 18:49:53 +00:00
|
|
|
profile=$(grep ^profile: /tmp/confluent.deploycfg|sed -e 's/^profile: //')
|
2020-05-14 17:36:23 +00:00
|
|
|
proto=$(grep ^protocol: /tmp/confluent.deploycfg |awk '{print $2}')
|
|
|
|
curl $proto://$mgr/confluent-public/os/$profile/scripts/post.sh > /tmp/post.sh
|
|
|
|
. /tmp/post.sh
|
|
|
|
curl $proto://$mgr/confluent-public/os/$profile/scripts/firstboot.sh > /mnt/etc/confluent/firstboot.sh
|
|
|
|
chmod +x /mnt/etc/confluent/firstboot.sh
|
2020-04-28 23:43:47 +00:00
|
|
|
]]>
|
|
|
|
</source>
|
|
|
|
</script>
|
|
|
|
</chroot-scripts>
|
2020-05-14 17:36:23 +00:00
|
|
|
<init-scripts config:type="list">
|
2020-04-28 23:43:47 +00:00
|
|
|
<script>
|
|
|
|
<filename>post.sh</filename>
|
|
|
|
<interpreter>shell</interpreter>
|
2020-05-14 17:36:23 +00:00
|
|
|
<location>file:///etc/confluent/firstboot.sh</location>
|
2020-04-28 23:43:47 +00:00
|
|
|
</script>
|
2020-05-14 17:36:23 +00:00
|
|
|
</init-scripts>
|
2020-04-28 23:43:47 +00:00
|
|
|
|
|
|
|
</scripts>
|
|
|
|
</profile>
|