stages/cloud-init: add support for configuring Azure datasource
Datasources are defined in an array to preserve ordering and are then converted to objects.
This commit is contained in:
parent
12eb14378a
commit
3ee19645a3
1 changed files with 25 additions and 0 deletions
|
|
@ -57,6 +57,31 @@ SCHEMA = r"""
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"datasource_list": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"enum": ["Azure"]
|
||||
}
|
||||
},
|
||||
"datasource": {
|
||||
"type": "object",
|
||||
"description": "Sources of configuration data for cloud-init.",
|
||||
"minProperties": 1,
|
||||
"properties": {
|
||||
"Azure": {
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"properties": {
|
||||
"apply_network_config": {
|
||||
"type": "boolean",
|
||||
"description": "Whether to use network configuration described by Azure’s IMDS endpoint",
|
||||
"default": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue