Fix config-drive support inline with cloud-init

Proposed changes to cloud-init under the same bug will
introduce behaviour to support a config-drive type concept
for LXD containers at /config-drive.

The current path is broken; switch to this new path to
support offline configuration of cloud instances.

Change-Id: I4996a34f84eb088c408a6454de9281908490a8eb
Closes-Bug: 1673411
This commit is contained in:
James Page 2017-03-24 08:06:55 +00:00
parent dd89e3336f
commit 991b2bd550
1 changed files with 1 additions and 1 deletions

View File

@ -412,7 +412,7 @@ class LXDDriver(driver.ComputeDriver):
profile = self.client.profiles.get(instance.name)
config_drive = {
'configdrive': {
'path': '/var/lib/cloud/data',
'path': '/config-drive',
'source': configdrive_path,
'type': 'disk',
}