mirror of
https://github.com/kneutron/ansitest.git
synced 2025-01-30 05:02:54 +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
|
#!/bin/bash
|
||||||
|
|
||||||
# mod for rhel8 / alma
|
# 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
|
# REF: https://access.redhat.com/solutions/4130881
|
||||||
|
|
||||||
date
|
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
|
[ $(type -path ntpdate |wc -l) -gt 0 ] && ntpdate -s pool.ntp.org
|
||||||
|
|
||||||
# RHEL8 / alma
|
# RHEL8 / alma
|
||||||
|
Loading…
x
Reference in New Issue
Block a user