Skip to content

Commit

Permalink
add chrony
Browse files Browse the repository at this point in the history
  • Loading branch information
timmy-wright committed May 29, 2024
1 parent 204d8d9 commit 0a1daef
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions vhdbuilder/packer/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,19 @@ else
done
fi

mkdir -p /etc/systemd/system/chrony.service.d
tee -a /etc/systemd/system/chrony.service.d/10-chrony-restarts.conf > /dev/null <<'EOF'
Restart=always
RestartSec=5
EOF

tee -a /etc/systemd/journald.conf > /dev/null <<'EOF'
Storage=persistent
SystemMaxUse=1G
RuntimeMaxUse=1G
ForwardToSyslog=yes
EOF

stop_watch $capture_time "Install Dependencies" false
start_watch

Expand Down

0 comments on commit 0a1daef

Please sign in to comment.