Ensure config-drive is read-only
The /config-drive dir presented from the host OS should
be presented as read only to ensure that the instance
can write directly to the host OS filesystem.
Change-Id: I997ef68048fa0a77f9cb0b70c325b9b96c079e2f
Closes-Bug: 1675741
(cherry picked from commit c3f55e797e
)
This commit is contained in:
parent
458abae8d1
commit
8105b3ca18
|
@ -327,6 +327,7 @@ class LXDDriver(driver.ComputeDriver):
|
|||
'path': '/config-drive',
|
||||
'source': configdrive_path,
|
||||
'type': 'disk',
|
||||
'readonly': True,
|
||||
}
|
||||
}
|
||||
profile.devices.update(config_drive)
|
||||
|
|
Loading…
Reference in New Issue