This kills vagrant up for elastic vm on a Mac for me (MacOS 10.14, Docker Desktop Community Version 2.0.0.2):
|
inline: 'sudo sysctl -w vm.max_map_count=262144' |
I get the following error:
==> elastic: Running trigger...
elastic: Running local: Inline script
elastic: sudo sysctl -w vm.max_map_count=262144
elastic: sysctl: unknown oid 'vm.max_map_count'
==> elastic: Trigger run failed
==> elastic: A script exited with an unacceptable exit code 1.
A script exited with an unacceptable exit code 1.
It seems it's trying to set it for the Mac host (not Linux), which would not have the desired effect. An manual approach, which does seem to work for me is this: https://stackoverflow.com/a/51623813/2682119
Workaround I'm using for this is just overriding vagrant_triggers_mac_os in an local/service.elastic.yml file.
This kills
vagrant upfor elastic vm on a Mac for me (MacOS 10.14, Docker Desktop Community Version 2.0.0.2):ce-vm/service.elastic.yml
Line 19 in 080a418
I get the following error:
It seems it's trying to set it for the Mac host (not Linux), which would not have the desired effect. An manual approach, which does seem to work for me is this: https://stackoverflow.com/a/51623813/2682119
Workaround I'm using for this is just overriding
vagrant_triggers_mac_osin anlocal/service.elastic.ymlfile.