diff options
Diffstat (limited to 'tools/centos-img-modify.sh')
-rwxr-xr-x | tools/centos-img-modify.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/centos-img-modify.sh b/tools/centos-img-modify.sh index c095be73..5a2df82f 100755 --- a/tools/centos-img-modify.sh +++ b/tools/centos-img-modify.sh @@ -69,3 +69,8 @@ cat << EOF > /etc/cloud/cloud.cfg.d/default.cfg disable_root: False ssh_pwauth: True EOF + +cd /etc +if [ ! -z $localtime_file ] && [ -f $localtime_file ]; then + ln -s -f $localtime_file /etc/localtime +fi |