Gabor, the file ends up rendered (through MAAS's tempita) into yaml. That yaml then needs to define a dictionary for 'early_commands'.
I can't provide an easy way to test MAAS's rendering of tempita.
But this shows the problem easily:
$ cat my.cfg install: log_file: /tmp/out.log stages: [early] early_commands: # does not matter
$ curtin -vvv --showtrace install --config=my.cfg my.cfg | pastebinit http://paste.ubuntu.com/26034970/
Gabor, the file ends up rendered (through MAAS's tempita) into yaml.
That yaml then needs to define a dictionary for 'early_commands'.
I can't provide an easy way to test MAAS's rendering of tempita.
But this shows the problem easily:
$ cat my.cfg
install:
log_file: /tmp/out.log
stages: [early]
early_commands:
# does not matter
$ curtin -vvv --showtrace install --config=my.cfg my.cfg | pastebinit paste.ubuntu. com/26034970/
http://