Skip to content

Commit b779d18

Browse files
authored
Merge pull request #544 from gibmat/allow-setting-timezone
Allow setting system timezone
2 parents a20ee43 + 479369b commit b779d18

21 files changed

Lines changed: 271 additions & 220 deletions

File tree

doc/reference/system/network.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ The following configuration options can be set:
3030

3131
* `dns`: Optionally, configure custom DNS information for the system.
3232

33-
* `ntp`: Optionally, configure custom NTP server(s) for the system.
34-
3533
* `proxy`: Optionally, configure a proxy for the system.
3634

35+
* `time`: Optionally, configure custom NTP server(s) and timezone for the system.
36+
3737
### Examples
3838

3939
Configure two network interfaces, one with IPv4 and the other with IPv6:
@@ -93,7 +93,7 @@ Configure a VLAN with ID 123 on top of an active-backup bond composed of two int
9393
}
9494
```
9595

96-
Configure custom DNS and NTP for IncusOS:
96+
Configure custom DNS, NTP, and timezone for IncusOS:
9797

9898
```
9999
{
@@ -103,8 +103,9 @@ Configure custom DNS and NTP for IncusOS:
103103
"search_domains": ["example.com", "example.org"],
104104
"nameservers": ["ns1.example.com", "ns2.example.com"]
105105
},
106-
"ntp": {
107-
"timeservers": ["ntp.example.com"]
106+
"time": {
107+
"ntp_servers": ["ntp.example.com"],
108+
"timezone": "America/New_York"
108109
}
109110
}
110111
```

doc/reference/system/update.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The following configuration options can be set:
2020

2121
## Maintenance windows
2222

23-
IncusOS supports defining maintenance windows that limit when the system will check for and apply updates. This can be useful to prevent updates from being installed during normal business hours or other inconvenient times. Each maintenance window consists of a start time and an end time (assumed to be UTC) and an optional start day of week and end day of week.
23+
IncusOS supports defining maintenance windows that limit when the system will check for and apply updates. This can be useful to prevent updates from being installed during normal business hours or other inconvenient times. Each maintenance window consists of a start time and an end time (assumed to be in the system's configured timezone) and an optional start day of week and end day of week.
2424

2525
### Examples
2626

0 commit comments

Comments
 (0)