From: David Galloway Date: Wed, 16 Mar 2016 00:40:58 +0000 (-0400) Subject: cobbler: set testnodes timezone during kickstart X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4078d54256b17c8f619e5b948747310dc3feeaee;p=ceph-cm-ansible.git cobbler: set testnodes timezone during kickstart Signed-off-by: David Galloway --- diff --git a/roles/cobbler/templates/kickstarts/cephlab_rhel.ks b/roles/cobbler/templates/kickstarts/cephlab_rhel.ks index b3282074..b99ba421 100644 --- a/roles/cobbler/templates/kickstarts/cephlab_rhel.ks +++ b/roles/cobbler/templates/kickstarts/cephlab_rhel.ks @@ -33,7 +33,7 @@ selinux --permissive # Do not configure the X Window System skipx # System timezone -timezone America/New_York +timezone Etc/UTC --utc # Install OS instead of upgrade install diff --git a/roles/cobbler/templates/kickstarts/cephlab_ubuntu.preseed b/roles/cobbler/templates/kickstarts/cephlab_ubuntu.preseed index dc46aa12..098a2904 100644 --- a/roles/cobbler/templates/kickstarts/cephlab_ubuntu.preseed +++ b/roles/cobbler/templates/kickstarts/cephlab_ubuntu.preseed @@ -31,12 +31,18 @@ d-i mirror/suite string $os_version # Stop Ubuntu from installing random kernel choice #d-i base-installer/kernel/image select none +# Controls whether or not the hardware clock is set to UTC. +d-i clock-setup/utc boolean true +# +# # You may set this to any valid setting for $TZ; see the contents of +# # /usr/share/zoneinfo/ for valid values. +d-i time/zone string Etc/UTC + # Controls whether to use NTP to set the clock during the install d-i clock-setup/ntp boolean true # NTP server to use. The default is almost always fine here. d-i clock-setup/ntp-server string pool.ntp.org - # This makes partman automatically partition without confirmation. #d-i partman/confirm_write_new_label boolean true #d-i partman/choose_partition select finish