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:
parent
dd89e3336f
commit
991b2bd550
|
@ -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',
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue