/srv/irclogs.ubuntu.com/2020/07/04/#cloud-init.txt

Davidian1024hello14:14
Davidian1024i'm running into some diffifulties in debugging my cloud-init network-config14:15
Davidian1024i'm getting generic python errors like: "AttributeError: 'str' object has no attribute 'get'"14:16
Davidian1024i'm wondering if there's a way to get it to tell me more clearly what's wrong with my config14:16
Davidian1024ok well, i got past it.  not sure i understand why i was getting the error.14:35
Davidian1024under ethernets: i had put renderer: NetworkManager, when i commented that line the error went away and it's now taking my other settings within the ethernets section14:39
Davidian1024so this still leaves me in the same boat so to speak.  i've been going through a number of different configurations.  and fairly often i hit these python errors that do very little to clue me into what's wrong.14:40
Davidian1024i'm hoping someone here can point me to a way to troubleshoot things better when i hit these types of errors14:42
compufreakFrom a python perspective, you usually call .get on a dictionary so I'm guessing it's something like `renderer: \n   NetworkManager:` vs `renderer: NetworkManager`14:46
MICROburstlet's say I installed a machine with Ubuntu using their installer. Can I install cloud-init afterwards to gain cloud-init config files?20:26
compufreakyeah it should run on next reboot automatically depending on service settings afaik'22:20

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!