2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-22 11:10:24 +00:00

Merge pull request #7274 from peterwywong/sles-date

Run date +"%Y" > /tmp/currentyear in makentp_extntpserver_value
This commit is contained in:
besawn
2022-10-27 14:17:36 -04:00
committed by GitHub

View File

@@ -46,7 +46,7 @@ cmd:lsdef -t site -o clustersite -i extntpservers -c >/tmp/extntpserver
check:rc==0
cmd:chtab key=extntpservers site.value="$$extntpserversip"
check:rc==0
cmd:date | awk '{print $6}' > /tmp/currentyear
cmd:date +"%Y" > /tmp/currentyear
check:rc==0
cmd:date -s 20000101
check:rc==0