[Touch-packages] [Bug 1855616] Re: apport tries to hit ec2 metadata service if cloud-init is installed

2019-12-08 Thread Chad Smith
I'll have to double check on UEC images and whether cloud-init is included in those image types, but we should be able to depend on the following function that that is the case: def add_cloud_info(report): # EC2 and Ubuntu Enterprise Cloud instances try: instance_data = json.loads(

[Touch-packages] [Bug 1855616] Re: apport tries to hit ec2 metadata service if cloud-init is installed

2019-12-08 Thread Michael Hudson-Doyle
Chad pointed out in IRC that cloud-init query platform is the supported way to get that information, but also that cloud-init query in general can probably be the source for all this information, on clouds other than EC2 as well. -- You received this bug notification because you are a member of