<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 27, 2021 at 8:56 AM Jerry Geis <<a href="mailto:jerry.geis@gmail.com">jerry.geis@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">How do  I get a look at the source for autoinstall ?<div>Thanks</div><div><br></div><div>Jerry</div></div></blockquote><div><br></div><div><br></div><div>Ok so once I found I had to UNCOMMENT the deb-src items in sources.list; then apt update; then I could apt source cloud-init</div><div><br></div><div> This is the cloud-init that WORKS: (snippit)</div><div>2021-08-23 20:30:46,908 - util.py[DEBUG]: Attempting to load yaml from string of length 0 with allowed root types (<class 'dict'>,)<br>2021-08-23 20:30:46,908 - util.py[DEBUG]: loaded blob returned None, returning default.<br>2021-08-23 20:30:46,908 - subp.py[DEBUG]: Running command ['blkid', '-tTYPE=vfat', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True)<br>2021-08-23 20:30:46,924 - subp.py[DEBUG]: Running command ['blkid', '-tTYPE=iso9660', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True)<br>2021-08-23 20:30:46,927 - subp.py[DEBUG]: Running command ['blkid', '-tLABEL=CIDATA', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True)<br>2021-08-23 20:30:46,930 - subp.py[DEBUG]: Running command ['blkid', '-tLABEL=cidata', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True)<br>2021-08-23 20:30:46,933 - subp.py[DEBUG]: Running command ['blkid', '-tLABEL_FATBOOT=cidata', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True)<br>2021-08-23 20:30:46,936 - DataSourceNoCloud.py[DEBUG]: Seed from <a href="http://devgeis.LayeredSolutionsInc.com/autoinstall/">http://devgeis.LayeredSolutionsInc.com/autoinstall/</a> not supported by DataSourceNoCloud [seed=None][dsmode=net]<br>2021-08-23 20:30:46,936 - __init__.py[DEBUG]: Datasource DataSourceNoCloud [seed=None][dsmode=net] not updated for events: New instance first boot<br>2021-08-23 20:30:46,936 - handlers.py[DEBUG]: finish: init-local/search-NoCloud: SUCCESS: no local data found from DataSourceNoCloud<br>2021-08-23 20:30:46,936 - main.py[DEBUG]: No local datasource found<br>2021-08-23 20:30:46,937 - util.py[DEBUG]: Reading from /sys/class/net/lo/address (quiet=False)<br>2021-08-23 20:30:46,937 - util.py[DEBUG]: Read 18 bytes from /sys/class/net/lo/address<br></div><div><br></div><div>This is the cloud-init that does not work:</div><div>2021-08-23 18:15:50,212 - subp.py[DEBUG]: Running command ['blkid', '-tTYPE=vfat', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True)<br>2021-08-23 18:15:50,287 - subp.py[DEBUG]: Running command ['blkid', '-tTYPE=iso9660', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True)<br>2021-08-23 18:15:50,299 - subp.py[DEBUG]: Running command ['blkid', '-tLABEL=CIDATA', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True)<br>2021-08-23 18:15:50,311 - subp.py[DEBUG]: Running command ['blkid', '-tLABEL=cidata', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True)<br>2021-08-23 18:15:50,324 - subp.py[DEBUG]: Running command ['blkid', '-tLABEL_FATBOOT=cidata', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True)<br>2021-08-23 18:15:50,338 - util.py[DEBUG]: Reading from /etc/hosts (quiet=False)<br>2021-08-23 18:15:50,338 - util.py[DEBUG]: Read 250 bytes from /etc/hosts<br>2021-08-23 18:15:50,346 - atomic_helper.py[DEBUG]: Atomically writing to file /run/cloud-init/instance-data-sensitive.json (via temporary file /run/cloud-init/tmpye9iymr0) - w: [600] 5035 bytes/chars<br>2021-08-23 18:15:50,349 - atomic_helper.py[DEBUG]: Atomically writing to file /run/cloud-init/instance-data.json (via temporary file /run/cloud-init/tmpkliagls2) - w: [644] 1400 bytes/chars<br>2021-08-23 18:15:50,350 - handlers.py[DEBUG]: finish: init-local/search-NoCloud: SUCCESS: found local data from DataSourceNoCloud<br>2021-08-23 18:15:50,350 - stages.py[INFO]: Loaded datasource DataSourceNoCloud - DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud][dsmode=net]<br>2021-08-23 18:15:50,351 - util.py[DEBUG]: Reading from /etc/cloud/cloud.cfg (quiet=False)<br>2021-08-23 18:15:50,352 - util.py[DEBUG]: Read 4017 bytes from /etc/cloud/cloud.cfg<br>2021-08-23 18:15:50,352 - util.py[DEBUG]: Attempting to load yaml from string of length 4017 with allowed root types (<class 'dict'>,)<br></div><div><br></div><div>I tried looking at the cloud-init source - but cannot tell why the autoinstall failes.</div><div>I have used it on about 10 other machines and it worked. Just not this machine ?</div><div><br></div><div>This is my install line:</div><div>root=/dev/ram0 ramdisk_size=1500000 nouveau.modeset=0 fsck.mode=skip autoinstall 'ds=nocloud-net;s=<a href="http://MyIP/autoinstall/">http://MyIP/autoinstall/</a>' ip=dhcp url=<a href="http://MyIp/autoinstall/ubuntu-20.04.3-live-server-amd64.iso">http://MyIp/autoinstall/ubuntu-20.04.3-live-server-amd64.iso</a> cloud-config-url=<a href="http://MyIp/autoinstall/meta-data">http://MyIp/autoinstall/meta-data</a>  --- splash nouveau.modeset=0 <br></div><div><br></div><div>From the Two differences above - does someone know why this one is failing ???</div><div><br></div><div>Jerry</div></div></div>