Created
August 14, 2013 21:06
-
-
Save sparr/6235632 to your computer and use it in GitHub Desktop.
cobblerd snippet to set the date and time via kickstart %pre
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# set the date and time | |
#import time | |
#set $timestamp = $time.strftime("%m%d%H%M%Y.%S",$time.gmtime()); | |
date -u $timestamp | |
hwclock -w -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment