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
(cherry picked from commit 991b2bd550
)
This commit is contained in:
parent
73168584c5
commit
5dd2bbaa14
|
@ -324,7 +324,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',
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue