setting timezone for installed system

Bug #1482882 reported by Nobuto Murata
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
curtin
Confirmed
Low
Unassigned

Bug Description

It would be nice if curtin had a feature to set timezone in curtin_userdata.

A workaround for Ubuntu system would be setting the late command below, but it would be nice if we could set timezone config in userdata with an os-independent way.

late_commands:
  timezone: curtin in-target -- sh -c "echo Asia/Tokyo > /etc/timezone && dpkg-reconfigure -fnoninteractive tzdata"

Tags: cpe-onsite
Revision history for this message
Scott Moser (smoser) wrote :

this can also be done via user-data. or if we get vendor-data in maas, that would work too.
then cloud-init will set the timezone on first boot.

that said, i'm not opposed to something that reads config and does this.

Changed in curtin:
importance: Undecided → Low
status: New → Confirmed
Nobuto Murata (nobuto)
tags: added: cpec
Ante Karamatić (ivoks)
tags: added: cpe-onsite
removed: cpec
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.