this is the full config: (I'm not sure what you mean by generated)
#cloud-config debconf_selections: maas: | {{for line in str(curtin_preseed).splitlines()}} {{line}} {{endfor}} early_commands: # disable_reboot: touch /run/block-curtin-poweroff /tmp/block-poweroff /tmp/block-reboot dummy_placeholder: echo just a placeholder {{if third_party_drivers and driver}} {{py: key_string = ''.join(['\\x%x' % x for x in map(ord, driver['key_binary'])])}} driver_00_get_key: /bin/echo -en '{{key_string}}' > /tmp/maas-{{driver['package']}}.gpg driver_01_add_key: ["apt-key", "add", "/tmp/maas-{{driver['package']}}.gpg"] driver_02_add: ["add-apt-repository", "-y", "deb {{driver['repository']}} {{node.get_distro_series()}} main"] driver_03_update_install: ["sh", "-c", "apt-get update --quiet && apt-get --assume-yes install {{driver['package']}}"] driver_04_load: ["sh", "-c", "depmod && modprobe {{driver['module']}}"] {{endif}} late_commands: maas: [wget, '--no-proxy', {{node_disable_pxe_url|escape.json}}, '--post-data', {{node_disable_pxe_data|escape.json}}, '-O', '/dev/null'] add_ca_1: ["curtin", "in-target", "--", "wget", "--output-document", "/usr/local/share/ca-certificates/local.crt", "http://100.107.0.4/conf/ca.pem" ] add_ca_2: ["curtin", "in-target", "--", "wget", "--output-document", "/usr/local/share/ca-certificates/pannetss-ica1.crt", "http://100.107.0.4/conf/pannet/pannetss-ica1.crt" ] add_ca_3: ["curtin", "in-target", "--", "wget", "--output-document", "/usr/local/share/ca-certificates/pannetss-root.crt", "http://100.107.0.4/conf/pannet/pannetss-root.crt" ] add_ca_4: ["curtin", "in-target", "--", "update-ca-certificates"] {{if third_party_drivers and driver}} driver_00_key_get: curtin in-target -- sh -c "/bin/echo -en '{{key_string}}' > /tmp/maas-{{driver['package']}}.gpg" driver_02_key_add: ["curtin", "in-target", "--", "apt-key", "add", "/tmp/maas-{{driver['package']}}.gpg"] driver_03_add: ["curtin", "in-target", "--", "add-apt-repository", "-y", "deb {{driver['repository']}} {{node.get_distro_series()}} main"] driver_04_update_install: ["curtin", "in-target", "--", "apt-get", "update", "--quiet"] driver_05_install: ["curtin", "in-target", "--", "apt-get", "-y", "install", "{{driver['package']}}"] driver_06_depmod: ["curtin", "in-target", "--", "depmod"] driver_07_update_initramfs: ["curtin", "in-target", "--", "update-initramfs", "-u"] {{endif}} showtrace: true verbosity: 3
this is the full config: (I'm not sure what you mean by generated)
#cloud-config preseed) .splitlines( )}} curtin- poweroff /tmp/block-poweroff /tmp/block-reboot placeholder: echo just a placeholder 'key_binary' ])])}} 00_get_ key: /bin/echo -en '{{key_string}}' > /tmp/maas- {{driver[ 'package' ]}}.gpg 01_add_ key: ["apt-key", "add", "/tmp/maas- {{driver[ 'package' ]}}.gpg" ] repository" , "-y", "deb {{driver[ 'repository' ]}} {{node. get_distro_ series( )}} main"] 03_update_ install: ["sh", "-c", "apt-get update --quiet && apt-get --assume-yes install {{driver[ 'package' ]}}"] 'module' ]}}"] disable_ pxe_url| escape. json}}, '--post-data', {{node_ disable_ pxe_data| escape. json}}, '-O', '/dev/null'] document" , "/usr/local/ share/ca- certificates/ local.crt" , "http:// 100.107. 0.4/conf/ ca.pem" ] document" , "/usr/local/ share/ca- certificates/ pannetss- ica1.crt" , "http:// 100.107. 0.4/conf/ pannet/ pannetss- ica1.crt" ] document" , "/usr/local/ share/ca- certificates/ pannetss- root.crt" , "http:// 100.107. 0.4/conf/ pannet/ pannetss- root.crt" ] ca-certificates "] 00_key_ get: curtin in-target -- sh -c "/bin/echo -en '{{key_string}}' > /tmp/maas- {{driver[ 'package' ]}}.gpg" 02_key_ add: ["curtin", "in-target", "--", "apt-key", "add", "/tmp/maas- {{driver[ 'package' ]}}.gpg" ] repository" , "-y", "deb {{driver[ 'repository' ]}} {{node. get_distro_ series( )}} main"] 04_update_ install: ["curtin", "in-target", "--", "apt-get", "update", "--quiet"] 05_install: ["curtin", "in-target", "--", "apt-get", "-y", "install", "{{driver[ 'package' ]}}"] 07_update_ initramfs: ["curtin", "in-target", "--", "update-initramfs", "-u"]
debconf_selections:
maas: |
{{for line in str(curtin_
{{line}}
{{endfor}}
early_commands:
# disable_reboot: touch /run/block-
dummy_
{{if third_party_drivers and driver}}
{{py: key_string = ''.join(['\\x%x' % x for x in map(ord, driver[
driver_
driver_
driver_02_add: ["add-apt-
driver_
driver_04_load: ["sh", "-c", "depmod && modprobe {{driver[
{{endif}}
late_commands:
maas: [wget, '--no-proxy', {{node_
add_ca_1: ["curtin", "in-target", "--", "wget", "--output-
add_ca_2: ["curtin", "in-target", "--", "wget", "--output-
add_ca_3: ["curtin", "in-target", "--", "wget", "--output-
add_ca_4: ["curtin", "in-target", "--", "update-
{{if third_party_drivers and driver}}
driver_
driver_
driver_03_add: ["curtin", "in-target", "--", "add-apt-
driver_
driver_
driver_06_depmod: ["curtin", "in-target", "--", "depmod"]
driver_
{{endif}}
showtrace: true
verbosity: 3