lp:~b-candler/cloud-init

Owned by Brian Candler
Get this repository:
git clone https://git.launchpad.net/~b-candler/cloud-init
Only Brian Candler can upload to this repository. If you are Brian Candler please log in for upload directions.

Branches

Name Last Modified Last Commit
bridge-parameters 2020-06-06 11:02:47 UTC
Fixes KeyError for bridge with no "parameters:" setting

Author: Brian Candler
Author Date: 2020-06-06 11:02:47 UTC

Fixes KeyError for bridge with no "parameters:" setting

LP #1879673

avalid-seed 2019-09-24 13:12:54 UTC
Add missing space in warning: "not avalid seed"

Author: Brian Candler
Author Date: 2019-09-24 13:12:54 UTC

Add missing space in warning: "not avalid seed"

nocloud-doc 2017-07-08 15:31:08 UTC
Document the cmdline options to NoCloud

Author: Brian Candler
Author Date: 2017-07-08 15:31:08 UTC

Document the cmdline options to NoCloud

master 2017-06-29 21:33:33 UTC
read_dmi_data: always return None when inside a container.

Author: Scott Moser
Author Date: 2017-06-29 17:32:15 UTC

read_dmi_data: always return None when inside a container.

This fixes stacktrace and warning message that would be printed
to the log if running inside a container and read_dmi_data tried
to access a key that was not present.

In a container, the /sys/class/dmi/id data is not relevant to the
but to the host. Additionally an unpriviledged container might see
strange behavior:
   # cd /sys/class/dmi/id/
   # id -u
   0
   # ls -l chassis_serial
   -r-------- 1 nobody nogroup 4096 Jun 29 16:49 chassis_serial
   # cat chassis_serial
   cat: /sys/class/dmi/id/chassis_serial: Permission denied

The solution here is to just always return None when running in a
container.

LP: #1701325

14 of 4 results
This repository contains Public information 
Everyone can see this information.

Subscribers