X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=vm_hosted;h=9af76a9b2715bd41a32853865c498f995c0c45c9;hb=378c98c5f2382ebfb52d3af2007010afd3e7cc5a;hp=e70708ad366a5b42fe25bb6c11fd1c3171748316;hpb=4ad3d3b9cd8f94b54ffbc9cf6cff1327a2af5012;p=lhc%2Fateliers.git diff --git a/vm_hosted b/vm_hosted index e70708a..9af76a9 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 + rule apt_get_install 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