update script
This commit is contained in:
parent
9d287c5dd5
commit
302a798430
roles/config-tzdata/files
|
@ -1,4 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo "Europe" > /etc/timezone
|
|
||||||
ln -sf /usr/share/zoneinfo/Europe/Madrid /etc/localtime
|
#echo "Europe" > /etc/timezone
|
||||||
|
#ln -sf /usr/share/zoneinfo/Europe/Madrid /etc/localtime
|
||||||
|
echo 'tzdata tzdata/Areas select Europe' | debconf-set-selections
|
||||||
|
echo 'tzdata tzdata/Zones/Europe select Madrid' | debconf-set-selections
|
||||||
|
echo 'tzdata tzdata/Zones/Etc select UTC' | debconf-set-selections
|
||||||
|
rm /etc/timezone
|
||||||
|
rm /etc/localtime
|
||||||
dpkg-reconfigure -f noninteractive tzdata
|
dpkg-reconfigure -f noninteractive tzdata
|
Loading…
Reference in New Issue