mirror of
https://github.com/kneutron/ansitest.git
synced 2025-01-16 04:42:55 +08:00
moar explanation, should work with multiple distros .deb/.rpm
This commit is contained in:
parent
124705e38a
commit
4e61f99588
@ -1,10 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# mod for rhel8 / alma
|
||||
# Quite useful if time/date in your Resumed VM is stuck in the past
|
||||
# REF: https://access.redhat.com/solutions/4130881
|
||||
|
||||
date
|
||||
# if exist, use it
|
||||
# if exist, use it; should work with .deb-based distros
|
||||
[ $(type -path ntpdate |wc -l) -gt 0 ] && ntpdate -s pool.ntp.org
|
||||
|
||||
# RHEL8 / alma
|
||||
|
Loading…
x
Reference in New Issue
Block a user