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
f5b0133a42
commit
e8a7e81cb9
|
@ -2,3 +2,4 @@
|
|||
host=review.openstack.org
|
||||
port=29418
|
||||
project=openstack/nova-lxd.git
|
||||
defaultbranch=stable/ocata
|
||||
|
|
|
@ -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