Skip to content

Instantly share code, notes, and snippets.

@sparr
Created August 14, 2013 21:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sparr/6235632 to your computer and use it in GitHub Desktop.
Save sparr/6235632 to your computer and use it in GitHub Desktop.
cobblerd snippet to set the date and time via kickstart %pre
# 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