<div dir="ltr">Hi All,<div><br></div><div>I have tried several attempts to user-data file for autoinstall.</div><div>This is the latest - this is the error:</div><div>2021-01-13 19:41:13,845 INFO subiquity:135 Starting Subiquity revision 1966<br>2021-01-13 19:41:13,845 INFO subiquity:136 Arguments passed: ['/snap/subiquity/1966/usr/bin/subiquity']<br>2021-01-13 19:41:14,594 INFO root:39 start: subiquity/core_validation: <br>2021-01-13 19:41:14,595 INFO root:39 finish: subiquity/core_validation: SUCCESS: <br>2021-01-13 19:41:14,623 INFO root:39 start: subiquity/core_validation: <br>2021-01-13 19:41:14,625 INFO root:39 finish: subiquity/core_validation: SUCCESS: <br>2021-01-13 19:41:14,639 ERROR root:39 finish: subiquity/Package/load_autoinstall_data: FAIL: can only assign an iterable<br>2021-01-13 19:41:14,640 ERROR subiquitycore.core:678 Exception in controller.run():<br>Traceback (most recent call last):<br>  File "/snap/subiquity/1966/lib/python3.6/site-packages/subiquitycore/core.py", line 662, in run<br>    self.controllers.load_all()<br>  File "/snap/subiquity/1966/lib/python3.6/site-packages/subiquitycore/core.py", line 279, in load_all<br>    self.load(self.controller_names[0])<br>  File "/snap/subiquity/1966/lib/python3.6/site-packages/subiquitycore/core.py", line 273, in load<br>    inst = klass(self.app)<br>  File "/snap/subiquity/1966/lib/python3.6/site-packages/subiquity/controller.py", line 40, in __init__<br>    self.setup_autoinstall()<br>  File "/snap/subiquity/1966/lib/python3.6/site-packages/subiquity/controller.py", line 50, in setup_autoinstall<br>    self.load_autoinstall_data(ai_data)<br>  File "/snap/subiquity/1966/lib/python3.6/site-packages/subiquity/controllers/package.py", line 29, in load_autoinstall_data<br>    self.model[:] = data<br>TypeError: can only assign an iterable<br>2021-01-13 19:41:14,641 INFO subiquity.core:487 saving crash report 'Installer UI crashed with TypeError' to /var/crash/1610566874.641513586.ui.crash<br></div><div><br></div><div><br></div><div>my user-data file is:</div><div>#cloud-config<br>autoinstall:<br>  version: 1<br>  early-commands:<br>    - systemctl stop ssh # otherwise packer tries to connect and exceed max attempts<br>  network:<br>    network:<br>      version: 2<br>      ethernets:<br>        eth0:<br>          dhcp4: yes<br>          dhcp-identifier: mac<br>  apt:<br>    preserve_sources_list: false<br>    primary:<br>      - arches: [amd64]<br>        uri: "<a href="http://archive.ubuntu.com/ubuntu/">http://archive.ubuntu.com/ubuntu/</a>"<br>  ssh:<br>    install-server: yes<br>    allow-pw: no<br>  identity:<br>    hostname: ubuntu-00<br>    password: changed<br>    username: changed<br>  packages:<br>  user-data:<br>    disable_root: false <br>  late-commands:<br>  storage:<br>    layout:<br>      name: direct<br></div><div><br></div><div><br></div><div>I got this file off the net - because my files were ALSO crashing.</div><div>AT this point I just desire a working autoinstall file that doesnt crash. Then I can tweak.</div><div><br></div><div>Anyone can share their user-data file that works ??? Thanks,</div><div><br></div><div>Jerry</div></div>