Davidian1024 | hello | 14:14 |
---|---|---|
Davidian1024 | i'm running into some diffifulties in debugging my cloud-init network-config | 14:15 |
Davidian1024 | i'm getting generic python errors like: "AttributeError: 'str' object has no attribute 'get'" | 14:16 |
Davidian1024 | i'm wondering if there's a way to get it to tell me more clearly what's wrong with my config | 14:16 |
Davidian1024 | ok well, i got past it. not sure i understand why i was getting the error. | 14:35 |
Davidian1024 | under 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 section | 14:39 |
Davidian1024 | so 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 |
Davidian1024 | i'm hoping someone here can point me to a way to troubleshoot things better when i hit these types of errors | 14:42 |
compufreak | From 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 |
MICROburst | let'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 |
compufreak | yeah 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!