mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-16 20:08:09 +00:00
enable using ephemeral disks by default (#461)
This commit is contained in:
@ -82,6 +82,7 @@ class Scaleset(BASE_SCALESET, ORMMixin):
|
||||
region: Region,
|
||||
size: int,
|
||||
spot_instances: bool,
|
||||
ephemeral_os_disks: bool,
|
||||
tags: Dict[str, str],
|
||||
client_id: Optional[UUID] = None,
|
||||
client_object_id: Optional[UUID] = None,
|
||||
@ -93,6 +94,7 @@ class Scaleset(BASE_SCALESET, ORMMixin):
|
||||
region=region,
|
||||
size=size,
|
||||
spot_instances=spot_instances,
|
||||
ephemeral_os_disks=ephemeral_os_disks,
|
||||
auth=build_auth(),
|
||||
client_id=client_id,
|
||||
client_object_id=client_object_id,
|
||||
@ -237,6 +239,7 @@ class Scaleset(BASE_SCALESET, ORMMixin):
|
||||
self.image,
|
||||
network_id,
|
||||
self.spot_instances,
|
||||
self.ephemeral_os_disks,
|
||||
extensions,
|
||||
self.auth.password,
|
||||
self.auth.public_key,
|
||||
|
Reference in New Issue
Block a user