diff options
author | Daniel Watkins <oddbloke@ubuntu.com> | 2020-11-13 17:34:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-13 17:34:44 -0500 |
commit | 8a9ee02dce8485961b0eeb1930e637a88b03b0ad (patch) | |
tree | 009b2c0b5c8ee2d9c7809cbc40f5c7c7a7cbb97d | |
parent | 38ba6b3087829a30c9888e60f5f6c6812ae5cfc7 (diff) | |
download | vyos-cloud-init-8a9ee02dce8485961b0eeb1930e637a88b03b0ad.tar.gz vyos-cloud-init-8a9ee02dce8485961b0eeb1930e637a88b03b0ad.zip |
DataSourceOpenNebula: exclude SRANDOM from context output (#665)
This is a new builtin variable that appeared in Ubuntu in
5.1~rc2-1ubuntu1 and started causing daily build failures.
-rw-r--r-- | cloudinit/sources/DataSourceOpenNebula.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceOpenNebula.py b/cloudinit/sources/DataSourceOpenNebula.py index 45481938..730ec586 100644 --- a/cloudinit/sources/DataSourceOpenNebula.py +++ b/cloudinit/sources/DataSourceOpenNebula.py @@ -350,7 +350,8 @@ def parse_shell_config(content, keylist=None, bash=None, asuser=None, # exclude vars in bash that change on their own or that we used excluded = ( "EPOCHREALTIME", "EPOCHSECONDS", "RANDOM", "LINENO", "SECONDS", "_", - "__v") + "SRANDOM", "__v", + ) preset = {} ret = {} target = None |