mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-22 05:28:25 +00:00
clh: virtiofs: Add no_posix_lock option
This will allow lock operations, needed by programs like `apt-get upgrade`. Fixes: #2594 Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
parent
02d8ec0bf8
commit
432f9bea6e
@ -126,9 +126,11 @@ func (v *virtiofsd) args() ([]string, error) {
|
||||
|
||||
args := []string{
|
||||
"-f",
|
||||
"-o", "vhost_user_socket=" + v.socketPath,
|
||||
"-o", "cache=" + v.cache,
|
||||
"-o", "no_posix_lock",
|
||||
"-o", "source=" + v.sourcePath,
|
||||
"-o", "cache=" + v.cache}
|
||||
"-o", "vhost_user_socket=" + v.socketPath,
|
||||
}
|
||||
|
||||
if len(v.extraArgs) != 0 {
|
||||
args = append(args, v.extraArgs...)
|
||||
|
Loading…
Reference in New Issue
Block a user