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

Fully rework suse15 to use bash

This commit is contained in:
Jarrod Johnson
2026-11-19 16:47:05 -05:00
parent c5319017c2
commit 5c9bbf0da5
10 changed files with 29 additions and 17 deletions
@@ -109,7 +109,7 @@ curl $proto://$confluent_mgr/confluent-public/os/$confluent_profile/scripts/pre.
<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}')
@@ -132,9 +132,12 @@ 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>
<source>
<![CDATA[
exec /bin/bash /etc/confluent/firstboot.sh
]]>
</source>
</script>
</init-scripts>
@@ -116,7 +116,7 @@ curl $proto://$confluent_mgr/confluent-public/os/$confluent_profile/scripts/pre.
<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}')
@@ -139,9 +139,12 @@ 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>
<source>
<![CDATA[
exec /bin/bash /etc/confluent/firstboot.sh
]]>
</source>
</script>
</init-scripts>
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# This script runs at the end of the final boot
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# This script runs at the end of install in the installed system
# but still under the installer kernel.
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# This script runs when install is finished, but while the installer
# is still running, with the to-be-booted system mounted in /mnt
@@ -109,7 +109,7 @@ curl $proto://$confluent_mgr/confluent-public/os/$confluent_profile/scripts/pre.
<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}')
@@ -132,9 +132,12 @@ 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>
<source>
<![CDATA[
exec /bin/bash /etc/confluent/firstboot.sh
]]>
</source>
</script>
</init-scripts>
@@ -138,9 +138,12 @@ 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>
<source>
<![CDATA[
exec /bin/bash /etc/confluent/firstboot.sh
]]>
</source>
</script>
</init-scripts>
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# This script runs at the end of the final boot
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# This script runs at the end of install in the installed system
# but still under the installer kernel.
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# This script runs when install is finished, but while the installer
# is still running, with the to-be-booted system mounted in /mnt