stages/cloud-init: write only one config file
Instead of supporting writing an arbitrary number of configuration files, just write one. This makes the stage and its schema clearer and simpler. If more than one config file is needed, the stage can be repeated multiple times. It is also more flexible since we can in the future specify the directory, `/etc` vs `/usr` via a new top level `directory` key.
This commit is contained in:
parent
0becf66454
commit
a1703dc298
3 changed files with 33 additions and 48 deletions
|
|
@ -506,12 +506,11 @@
|
|||
{
|
||||
"name": "org.osbuild.cloud-init",
|
||||
"options": {
|
||||
"filename": "00-default_user.cfg",
|
||||
"config": {
|
||||
"00-default_user.cfg": {
|
||||
"system_info": {
|
||||
"default_user": {
|
||||
"name": "ec2-user"
|
||||
}
|
||||
"system_info": {
|
||||
"default_user": {
|
||||
"name": "ec2-user"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,12 +32,11 @@
|
|||
{
|
||||
"name": "org.osbuild.cloud-init",
|
||||
"options": {
|
||||
"filename": "00-default_user.cfg",
|
||||
"config": {
|
||||
"00-default_user.cfg": {
|
||||
"system_info": {
|
||||
"default_user": {
|
||||
"name": "ec2-user"
|
||||
}
|
||||
"system_info": {
|
||||
"default_user": {
|
||||
"name": "ec2-user"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue