diff --git a/confluent_osdeploy/suse15/profiles/hpc/scripts/pre.sh b/confluent_osdeploy/suse15/profiles/hpc/scripts/pre.sh index a7f3ce02..25e4fda0 100644 --- a/confluent_osdeploy/suse15/profiles/hpc/scripts/pre.sh +++ b/confluent_osdeploy/suse15/profiles/hpc/scripts/pre.sh @@ -39,10 +39,6 @@ if grep ^ntpservers: /etc/confluent/confluent.deploycfg > /dev/null; then fi run_remote_python getinstalldisk sed -e s'!'%%INSTDISK%%'!'/dev/$(cat /tmp/installdisk)'!' -e s'!'%%NODENAME%%'!'$nodename'!' -e s'!!'$ntpcfg'!' -e "s?%%ROOTPASSWORD%%?${rootpw}?" /tmp/profile/autoinst.xml > /tmp/profile/modified.xml -#This would be nice, but suse discards comments before it makes it to /tmp/profile -#for file in $(grep '//'); do -# sed -i 's%'"%$(cat $file|tr -d '\n')"% /tmp/profile/modified.xml -#done if grep append /tmp/bootloader.xml > /dev/null; then sed -i 's@@'"$(tr -d '\n' < /tmp/bootloader.xml)"'@' /tmp/profile/modified.xml fi