summaryrefslogtreecommitdiff
path: root/tests/unittests
diff options
context:
space:
mode:
authorRobert Jennings <robert.jennings@canonical.com>2016-04-27 16:33:13 -0500
committerRobert Jennings <robert.jennings@canonical.com>2016-04-27 16:33:13 -0500
commit7b65c24f389471bbaa9aa38e164c6440b18f22f4 (patch)
treed4433a24800e508f3c0a88007091a9fca6fd7190 /tests/unittests
parentb029dcefe1ed33be8ed80f2e376ca6874dfd64f7 (diff)
downloadvyos-cloud-init-7b65c24f389471bbaa9aa38e164c6440b18f22f4.tar.gz
vyos-cloud-init-7b65c24f389471bbaa9aa38e164c6440b18f22f4.zip
Ensure instance path is a child of cloud_dir
A cloud has an instance-id metadata value in the form: /Compute-$TENANT/$CLOUDUSERNAME/$UUID The leading '/' causes /var/lib/cloud/instance to link to /Compute-$TENANT/$CLOUDUSERNAME/$UUID rather than /var/lib/cloud/instances/Compute-$TENANT/$CLOUDUSERNAME/$UUID This patch strips the leading path separator from the instance-id. LP: #1575938
Diffstat (limited to 'tests/unittests')
0 files changed, 0 insertions, 0 deletions