diff --git a/confluent_osdeploy/suse15/initramfs/opt/confluent/bin/suseagent b/confluent_osdeploy/suse15/initramfs/opt/confluent/bin/suseagent index 3fe6642b..bf361a73 100755 --- a/confluent_osdeploy/suse15/initramfs/opt/confluent/bin/suseagent +++ b/confluent_osdeploy/suse15/initramfs/opt/confluent/bin/suseagent @@ -81,6 +81,7 @@ fi tz=$(grep timezone: /etc/confluent/confluent.deploycfg | awk '{print $2}') echo "${tz}" > /tmp/timezone +echo "${tz}" > /tmp/timezone.txt autoconfigmethod=$(grep ipv4_method /etc/confluent/confluent.deploycfg) autoconfigmethod=${autoconfigmethod#ipv4_method: } if [ "$autoconfigmethod" = "dhcp" ]; then diff --git a/confluent_osdeploy/suse15/profiles/hpc/autoyast.leap b/confluent_osdeploy/suse15/profiles/hpc/autoyast.leap index d3c6971a..7f9d08f7 100644 --- a/confluent_osdeploy/suse15/profiles/hpc/autoyast.leap +++ b/confluent_osdeploy/suse15/profiles/hpc/autoyast.leap @@ -8,7 +8,7 @@ dynamic behavior and replace with static configuration. UTC - + %%TIMEZONE%% false diff --git a/confluent_osdeploy/suse15/profiles/hpc/autoyast.sle b/confluent_osdeploy/suse15/profiles/hpc/autoyast.sle index cf3f5569..9f1f1928 100644 --- a/confluent_osdeploy/suse15/profiles/hpc/autoyast.sle +++ b/confluent_osdeploy/suse15/profiles/hpc/autoyast.sle @@ -8,7 +8,7 @@ dynamic behavior and replace with static configuration. UTC - + %%TIMEZONE%% false diff --git a/confluent_osdeploy/suse15/profiles/hpc/scripts/pre.sh b/confluent_osdeploy/suse15/profiles/hpc/scripts/pre.sh index d1b5c912..0bc969dd 100644 --- a/confluent_osdeploy/suse15/profiles/hpc/scripts/pre.sh +++ b/confluent_osdeploy/suse15/profiles/hpc/scripts/pre.sh @@ -59,5 +59,5 @@ if grep append /tmp/bootloader.xml > /dev/null; then sed -i 's@@'"$(tr -d '\n' < /tmp/bootloader.xml)"'@' /tmp/profile/modified.xml fi sed -i 's#root#root'"$(tr -d '\n' < /tmp/rootkeys.xml)"'#' /tmp/profile/modified.xml -sed -i 's@/hwclock>@/hwclock>'"$(tr -d '\n' < /tmp/timezone)"'@' /tmp/profile/modified.xml +sed -i 's@%%TIMEZONE%%@'"$(cat /tmp/timezone.txt)"'@' /tmp/profile/modified.xml sed -i 's@@'"$(tr -d '\n' < /tmp/pkgurl)"'@' /tmp/profile/modified.xml diff --git a/confluent_osdeploy/suse15/profiles/server/autoyast.leap b/confluent_osdeploy/suse15/profiles/server/autoyast.leap index d3c6971a..7f9d08f7 100644 --- a/confluent_osdeploy/suse15/profiles/server/autoyast.leap +++ b/confluent_osdeploy/suse15/profiles/server/autoyast.leap @@ -8,7 +8,7 @@ dynamic behavior and replace with static configuration. UTC - + %%TIMEZONE%% false diff --git a/confluent_osdeploy/suse15/profiles/server/autoyast.sle b/confluent_osdeploy/suse15/profiles/server/autoyast.sle index b8e271f1..d50f08e9 100644 --- a/confluent_osdeploy/suse15/profiles/server/autoyast.sle +++ b/confluent_osdeploy/suse15/profiles/server/autoyast.sle @@ -8,7 +8,7 @@ dynamic behavior and replace with static configuration. UTC - + %%TIMEZONE%% false diff --git a/confluent_osdeploy/suse15/profiles/server/scripts/pre.sh b/confluent_osdeploy/suse15/profiles/server/scripts/pre.sh index d1b5c912..0bc969dd 100644 --- a/confluent_osdeploy/suse15/profiles/server/scripts/pre.sh +++ b/confluent_osdeploy/suse15/profiles/server/scripts/pre.sh @@ -59,5 +59,5 @@ if grep append /tmp/bootloader.xml > /dev/null; then sed -i 's@@'"$(tr -d '\n' < /tmp/bootloader.xml)"'@' /tmp/profile/modified.xml fi sed -i 's#root#root'"$(tr -d '\n' < /tmp/rootkeys.xml)"'#' /tmp/profile/modified.xml -sed -i 's@/hwclock>@/hwclock>'"$(tr -d '\n' < /tmp/timezone)"'@' /tmp/profile/modified.xml +sed -i 's@%%TIMEZONE%%@'"$(cat /tmp/timezone.txt)"'@' /tmp/profile/modified.xml sed -i 's@@'"$(tr -d '\n' < /tmp/pkgurl)"'@' /tmp/profile/modified.xml