2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-11-28 21:32:22 +00:00

Actually change all suse scripts to bash

This commit is contained in:
Jarrod Johnson
2026-11-19 16:09:38 -05:00
parent 06698cb97e
commit c5319017c2
4 changed files with 17 additions and 1 deletions
@@ -89,6 +89,7 @@ dynamic behavior and replace with static configuration.
<scripts>
<pre-scripts config:type="list">
<script>
<interpreter>/bin/bash</interpreter>
<filename>preinstall.sh</filename>
<source>
<![CDATA[
@@ -104,6 +105,7 @@ curl $proto://$confluent_mgr/confluent-public/os/$confluent_profile/scripts/pre.
</pre-scripts>
<chroot-scripts config:type="list">
<script>
<interpreter>/bin/bash</interpreter>
<filename>chroot.sh</filename>
<source>
<![CDATA[
@@ -122,6 +124,7 @@ cp /mnt/etc/confluent/post.sh /mnt/var/adm/autoinstall/scripts/
</source>
</script>
<script>
<interpreter>/bin/bash</interpreter>
<chrooted config:type="boolean">true</chrooted>
<filename>post.sh</filename>
<location>file:///etc/confluent/post.sh</location>
@@ -129,6 +132,7 @@ cp /mnt/etc/confluent/post.sh /mnt/var/adm/autoinstall/scripts/
</chroot-scripts>
<init-scripts config:type="list">
<script>
<interpreter>/bin/bash</interpreter>
<filename>firstboot.sh</filename>
<location>file:///etc/confluent/firstboot.sh</location>
</script>
@@ -96,6 +96,7 @@ dynamic behavior and replace with static configuration.
<scripts>
<pre-scripts config:type="list">
<script>
<interpreter>/bin/bash</interpreter>
<filename>preinstall.sh</filename>
<source>
<![CDATA[
@@ -111,6 +112,7 @@ curl $proto://$confluent_mgr/confluent-public/os/$confluent_profile/scripts/pre.
</pre-scripts>
<chroot-scripts config:type="list">
<script>
<interpreter>/bin/bash</interpreter>
<filename>chroot.sh</filename>
<source>
<![CDATA[
@@ -129,6 +131,7 @@ cp /mnt/etc/confluent/post.sh /mnt/var/adm/autoinstall/scripts/
</source>
</script>
<script>
<interpreter>/bin/bash</interpreter>
<chrooted config:type="boolean">true</chrooted>
<filename>post.sh</filename>
<location>file:///etc/confluent/post.sh</location>
@@ -136,6 +139,7 @@ cp /mnt/etc/confluent/post.sh /mnt/var/adm/autoinstall/scripts/
</chroot-scripts>
<init-scripts config:type="list">
<script>
<interpreter>/bin/bash</interpreter>
<filename>firstboot.sh</filename>
<location>file:///etc/confluent/firstboot.sh</location>
</script>
@@ -89,6 +89,7 @@ dynamic behavior and replace with static configuration.
<scripts>
<pre-scripts config:type="list">
<script>
<interpreter>/bin/bash</interpreter>
<filename>preinstall.sh</filename>
<source>
<![CDATA[
@@ -104,6 +105,7 @@ curl $proto://$confluent_mgr/confluent-public/os/$confluent_profile/scripts/pre.
</pre-scripts>
<chroot-scripts config:type="list">
<script>
<interpreter>/bin/bash</interpreter>
<filename>chroot.sh</filename>
<source>
<![CDATA[
@@ -122,6 +124,7 @@ cp /mnt/etc/confluent/post.sh /mnt/var/adm/autoinstall/scripts/
</source>
</script>
<script>
<interpreter>/bin/bash</interpreter>
<chrooted config:type="boolean">true</chrooted>
<filename>post.sh</filename>
<location>file:///etc/confluent/post.sh</location>
@@ -129,6 +132,7 @@ cp /mnt/etc/confluent/post.sh /mnt/var/adm/autoinstall/scripts/
</chroot-scripts>
<init-scripts config:type="list">
<script>
<interpreter>/bin/bash</interpreter>
<filename>firstboot.sh</filename>
<location>file:///etc/confluent/firstboot.sh</location>
</script>
@@ -95,6 +95,7 @@ dynamic behavior and replace with static configuration.
<scripts>
<pre-scripts config:type="list">
<script>
<interpreter>/bin/bash</interpreter>
<filename>preinstall.sh</filename>
<source>
<![CDATA[
@@ -110,10 +111,11 @@ curl $proto://$confluent_mgr/confluent-public/os/$confluent_profile/scripts/pre.
</pre-scripts>
<chroot-scripts config:type="list">
<script>
<interpreter>/bin/bash</interpreter>
<filename>chroot.sh</filename>
<source>
<![CDATA[
#!/bin/sh
#!/bin/bash
confluent_mgr=$(grep ^deploy_server /etc/confluent/confluent.deploycfg|awk '{print $2}')
confluent_profile=$(grep ^profile: /etc/confluent/confluent.deploycfg|sed -e 's/^profile: //')
proto=$(grep ^protocol: /etc/confluent/confluent.deploycfg |awk '{print $2}')
@@ -128,6 +130,7 @@ cp /mnt/etc/confluent/post.sh /mnt/var/adm/autoinstall/scripts/
</source>
</script>
<script>
<interpreter>/bin/bash</interpreter>
<chrooted config:type="boolean">true</chrooted>
<filename>post.sh</filename>
<location>file:///etc/confluent/post.sh</location>
@@ -135,6 +138,7 @@ cp /mnt/etc/confluent/post.sh /mnt/var/adm/autoinstall/scripts/
</chroot-scripts>
<init-scripts config:type="list">
<script>
<interpreter>/bin/bash</interpreter>
<filename>firstboot.sh</filename>
<location>file:///etc/confluent/firstboot.sh</location>
</script>