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 31f122fb..fe35126b 100755 --- a/tools/centos-img-modify.sh +++ b/tools/centos-img-modify.sh @@ -63,3 +63,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 |