Skip to content

Commit c780347

Browse files
Merge pull request #470 from microsoft/main
Fork Sync: Update from parent repository
2 parents 29fd625 + 8224382 commit c780347

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

docs/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,14 +126,14 @@ $ onefuzz pools create my-pool linux --query pool_id
126126
"9e779388-a9c2-4934-9fa2-6ed6f6a7792a"
127127
```
128128

129-
To create a managed scaleset of Ubuntu 20.04 VMs using a [general purpose
129+
To create a managed scaleset of Ubuntu 22.04 VMs using a [general purpose
130130
Azure VM](https://docs.microsoft.com/en-us/azure/virtual-machines/sizes) that
131131
belongs to the pool:
132132

133133
```console
134134
$ onefuzz scalesets create my-pool $VM_COUNT
135135
{
136-
"image": "Canonical:0001-com-ubuntu-server-focal:20_04-lts:latest",
136+
"image": "Canonical:0001-com-ubuntu-server-jammy:22_04-lts:latest",
137137
"pool_name": "my-pool",
138138
"region": "eastus",
139139
"scaleset_id": "eb1e9602-4acf-40b8-9216-a5d598d27195",

docs/supported-platforms.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ OneFuzz deploys targets into Azure Virtual Machine Scale Sets for fuzzing (and
1515
supporting tasks). OneFuzz permits arbitrary choice of VM SKU and OS Image,
1616
including custom images. We continuously test on Window 11 Pro x64 (using the
1717
Azure OS image URN `MicrosoftWindowsDesktop:Windows-11:win11-22h2-pro:latest`)
18-
and Ubuntu 20.04 LTS x64 (using the Azure OS image URN
19-
`Canonical:0001-com-ubuntu-server-focal:20_04-lts:latest`).
18+
and Ubuntu 22.04 LTS x64 (using the Azure OS image URN
19+
`Canonical:0001-com-ubuntu-server-jammy:22_04-lts:latest`).
2020

2121
### LibFuzzer Compilation
2222

docs/webhook_events.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ If webhook is set to have Event Grid message format then the payload will look a
725725
"allowed_aad_tenants": [
726726
"00000000-0000-0000-0000-000000000000"
727727
],
728-
"default_linux_vm_image": "Canonical:0001-com-ubuntu-server-focal:20_04-lts:latest",
728+
"default_linux_vm_image": "Canonical:0001-com-ubuntu-server-jammy:22_04-lts:latest",
729729
"default_windows_vm_image": "MicrosoftWindowsDesktop:Windows-11:win11-22h2-pro:latest",
730730
"network_config": {
731731
"address_space": "10.0.0.0/8",
@@ -868,7 +868,7 @@ If webhook is set to have Event Grid message format then the payload will look a
868868
"type": "object"
869869
},
870870
"default_linux_vm_image": {
871-
"default": "Canonical:0001-com-ubuntu-server-focal:20_04-lts:latest",
871+
"default": "Canonical:0001-com-ubuntu-server-jammy:22_04-lts:latest",
872872
"title": "Default Linux Vm Image",
873873
"type": "string"
874874
},
@@ -2576,7 +2576,7 @@ If webhook is set to have Event Grid message format then the payload will look a
25762576

25772577
```json
25782578
{
2579-
"image": "Canonical:0001-com-ubuntu-server-focal:20_04-lts:latest",
2579+
"image": "Canonical:0001-com-ubuntu-server-jammy:22_04-lts:latest",
25802580
"pool_name": "example",
25812581
"region": "eastus",
25822582
"scaleset_id": "example-000",
@@ -6215,7 +6215,7 @@ If webhook is set to have Event Grid message format then the payload will look a
62156215
"type": "object"
62166216
},
62176217
"default_linux_vm_image": {
6218-
"default": "Canonical:0001-com-ubuntu-server-focal:20_04-lts:latest",
6218+
"default": "Canonical:0001-com-ubuntu-server-jammy:22_04-lts:latest",
62196219
"title": "Default Linux Vm Image",
62206220
"type": "string"
62216221
},

src/ApiService/ApiService/onefuzzlib/ImageReference.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace Microsoft.OneFuzz.Service;
1414

1515
public static class DefaultImages {
1616
public static readonly ImageReference Windows = ImageReference.MustParse("MicrosoftWindowsDesktop:Windows-11:win11-22h2-pro:latest");
17-
public static readonly ImageReference Linux = ImageReference.MustParse("Canonical:0001-com-ubuntu-server-focal:20_04-lts:latest");
17+
public static readonly ImageReference Linux = ImageReference.MustParse("Canonical:0001-com-ubuntu-server-jammy:22_04-lts:latest");
1818
}
1919

2020
[JsonConverter(typeof(Converter<ImageReference>))]

src/pytypes/extra/generate-docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def main() -> None:
197197
scaleset_id="example-000",
198198
pool_name=PoolName("example"),
199199
vm_sku="Standard_D2s_v3",
200-
image="Canonical:0001-com-ubuntu-server-focal:20_04-lts:latest",
200+
image="Canonical:0001-com-ubuntu-server-jammy:22_04-lts:latest",
201201
region=Region("eastus"),
202202
size=10,
203203
),

src/pytypes/onefuzztypes/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ class InstanceConfig(BaseModel):
846846
default="MicrosoftWindowsDesktop:Windows-11:win11-22h2-pro:latest"
847847
)
848848
default_linux_vm_image: str = Field(
849-
default="Canonical:0001-com-ubuntu-server-focal:20_04-lts:latest"
849+
default="Canonical:0001-com-ubuntu-server-jammy:22_04-lts:latest"
850850
)
851851
proxy_vm_sku: str = Field(default="Standard_B2s")
852852
api_access_rules: Optional[Dict[Endpoint, ApiAccessRule]] = None

src/pytypes/tests/test_models.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def test_scaleset_size(self) -> None:
5757
scaleset_id="test-pool-000",
5858
pool_name=PoolName("test-pool"),
5959
vm_sku="Standard_D2ds_v4",
60-
image="Canonical:0001-com-ubuntu-server-focal:20_04-lts:latest",
60+
image="Canonical:0001-com-ubuntu-server-jammy:22_04-lts:latest",
6161
region=Region("westus2"),
6262
size=-1,
6363
spot_instances=False,
@@ -67,7 +67,7 @@ def test_scaleset_size(self) -> None:
6767
scaleset_id="test-pool-000",
6868
pool_name=PoolName("test-pool"),
6969
vm_sku="Standard_D2ds_v4",
70-
image="Canonical:0001-com-ubuntu-server-focal:20_04-lts:latest",
70+
image="Canonical:0001-com-ubuntu-server-jammy:22_04-lts:latest",
7171
region=Region("westus2"),
7272
size=0,
7373
spot_instances=False,
@@ -78,7 +78,7 @@ def test_scaleset_size(self) -> None:
7878
scaleset_id="test-pool-000",
7979
pool_name=PoolName("test-pool"),
8080
vm_sku="Standard_D2ds_v4",
81-
image="Canonical:0001-com-ubuntu-server-focal:20_04-lts:latest",
81+
image="Canonical:0001-com-ubuntu-server-jammy:22_04-lts:latest",
8282
region=Region("westus2"),
8383
size=80,
8484
spot_instances=False,

0 commit comments

Comments
 (0)