Skip to content

Commit

Permalink
[NTP] Revert change in PR 2598 (#4265)
Browse files Browse the repository at this point in the history
We believe that the supervisord issue in face of clock rolling backwards
has been addressed. Therefore reverting change 2598 to allow ntp sync
to right clock at the start up time.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
  • Loading branch information
yxieca authored and rlhui committed Mar 23, 2020
1 parent 3585703 commit 384055a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions build_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -317,10 +317,6 @@ fi
## Disable kexec supported reboot which was installed by default
sudo sed -i 's/LOAD_KEXEC=true/LOAD_KEXEC=false/' $FILESYSTEM_ROOT/etc/default/kexec

## Modifty ntp default configuration: disable initial jump (add -x), and disable
## jump when time difference is greater than 1000 seconds (remove -g).
sudo sed -i "s/NTPD_OPTS='-g'/NTPD_OPTS='-x'/" $FILESYSTEM_ROOT/etc/default/ntp

## Remove sshd host keys, and will regenerate on first sshd start
sudo rm -f $FILESYSTEM_ROOT/etc/ssh/ssh_host_*_key*
sudo cp files/sshd/host-ssh-keygen.sh $FILESYSTEM_ROOT/usr/local/bin/
Expand Down

0 comments on commit 384055a

Please sign in to comment.