diff options
-rw-r--r-- | assets/timezone | 1 | ||||
-rw-r--r-- | vps-builder.scm | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/assets/timezone b/assets/timezone new file mode 100644 index 0000000..644e6f1 --- /dev/null +++ b/assets/timezone @@ -0,0 +1 @@ +Europe/Amsterdam
\ No newline at end of file diff --git a/vps-builder.scm b/vps-builder.scm index 1f45c3f..5b15ba6 100644 --- a/vps-builder.scm +++ b/vps-builder.scm @@ -199,7 +199,12 @@ (install-file root-dir "assets/network/interfaces" "/etc/network/interfaces" "root" "root" #o644) (install-file root-dir "assets/network/cloudstack-guest-setup" - "/etc/dhcp/dhclient-exit-hooks.d" "root" "root" #o644)) + "/etc/dhcp/dhclient-exit-hooks.d" "root" "root" #o644) + + ;; Update timezone + (install-file root-dir "assets/timezone" + "/etc/timezone" "root" "root" #o644) + (run* (chroot ,root-dir "dpkg-reconfigure" "tzdata"))) (define (update-packages root-dir) (run* (chroot ,root-dir apt-get update)) |