From: Julien Moutinho Date: Mon, 25 Feb 2013 21:37:01 +0000 (+0100) Subject: Ajout : vm_hosted : /etc/timezone . X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=commitdiff_plain;h=1612b71dcbc6de9a34c98e755f36b1428ff46d85 Ajout : vm_hosted : /etc/timezone . --- diff --git a/vm_hosted b/vm_hosted index e70708a..2e4dc08 100755 --- a/vm_hosted +++ b/vm_hosted @@ -292,6 +292,13 @@ rule_initramfs_configure () { # NOTE: clefs générées par Debian sudo update-initramfs -u } +rule_time_configure () { + sudo install -m 644 -o root -g root /dev/stdin /etc/timezone <<-EOF + Europe/Paris + EOF + sudo dpkg-reconfigure tzdata + # TODO: NTP + } rule_locale_configure () { sudo install -m 644 -o root -g root /dev/stdin /etc/locale.gen <<-EOF fr_FR.UTF-8 UTF-8 @@ -685,6 +692,7 @@ rule_configure () { rule git_configure rule etckeeper_configure rule locale_configure + rule time_configure rule network_configure rule filesystem_configure rule login_configure