summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_runcmd.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2018-04-18 20:37:07 -0600
committerChad Smith <chad.smith@canonical.com>2018-04-18 20:37:07 -0600
commit6811926fdb991ad02ad9c0134c1d4bbe82ef87e1 (patch)
treeb90a1a50f7ac52e050ac006d88e6be75948ded21 /cloudinit/config/cc_runcmd.py
parent6d48d265a0548a2dc23e587f2a335d4e38e8db90 (diff)
downloadvyos-cloud-init-6811926fdb991ad02ad9c0134c1d4bbe82ef87e1.tar.gz
vyos-cloud-init-6811926fdb991ad02ad9c0134c1d4bbe82ef87e1.zip
Schema: do not warn on duplicate items in commands.
runcmd, bootcmd, snap/commands, ubuntu-advantage/commands would log warning (and fail if strict) on duplicate values in the commands. But those should be allowed. Example, it is perfectly valid to do: runcmd: ['sleep 1', 'sleep 1'] LP: #1764264
Diffstat (limited to 'cloudinit/config/cc_runcmd.py')
-rw-r--r--cloudinit/config/cc_runcmd.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/cloudinit/config/cc_runcmd.py b/cloudinit/config/cc_runcmd.py
index 539cbd5d..b6f6c807 100644
--- a/cloudinit/config/cc_runcmd.py
+++ b/cloudinit/config/cc_runcmd.py
@@ -66,7 +66,6 @@ schema = {
'additionalProperties': False,
'minItems': 1,
'required': [],
- 'uniqueItems': True
}
}
}