2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-11 18:28:11 +00:00

Fix NTPCFG replacement in suse pre.sh

This commit is contained in:
Jarrod Johnson 2020-07-09 14:13:46 -04:00
parent d2c999b01c
commit b42e447e34

View File

@ -35,4 +35,4 @@ if grep ^ntpservers: /etc/confluent/confluent.deploycfg > /dev/null; then
ntpcfg='<xi:include href="file:///tmp/ntp.cfg"/>'
fi
run_remote_python getinstalldisk
sed -e s!%%INSTDISK%%!/dev/$(cat /tmp/installdisk)! -e s!%%NODENAME%%!$nodename! -e s!%%NTPCFG%%!$ntpcfg! -e "s?%%ROOTPASSWORD%%?${rootpw}?" /tmp/profile/autoinst.xml > /tmp/profile/modified.xml
sed -e s!%%INSTDISK%%!/dev/$(cat /tmp/installdisk)! -e s!%%NODENAME%%!$nodename! -e "s!%%NTPCFG%%!$ntpcfg!" -e "s?%%ROOTPASSWORD%%?${rootpw}?" /tmp/profile/autoinst.xml > /tmp/profile/modified.xml