• Robert Jennings's avatar
    Ensure instance path is a child of cloud_dir · 7b65c24f
    Robert Jennings authored
    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
    7b65c24f
Name
Last commit
Last update
bin Loading commit data...
cloudinit Loading commit data...
config Loading commit data...
doc Loading commit data...
packages Loading commit data...
systemd Loading commit data...
sysvinit Loading commit data...
templates Loading commit data...
tests Loading commit data...
tools Loading commit data...
udev Loading commit data...
upstart Loading commit data...
.bzrignore Loading commit data...
ChangeLog Loading commit data...
HACKING.rst Loading commit data...
LICENSE Loading commit data...
MANIFEST.in Loading commit data...
Makefile Loading commit data...
TODO.rst Loading commit data...
requirements.txt Loading commit data...
setup.py Loading commit data...
test-requirements.txt Loading commit data...
tox.ini Loading commit data...