runtime-tools
runtime-tools copied to clipboard
recheck the logic of `ocitools --host-specific generate`
The logic of ocitools --host-specific generate should be rechecked and behave as it is supposed to be.
Here are two examples:
- if the user runs
ocitools --host-specific generate --linux-cpu-shares=512on a windows machine, the--linux-cpu-sharesshould be ignored. - if the user run
ocitools --host-specific generate --output config.jsonon a windows machine, theconfig.jsonfile should not include thelinuxsection.
@wking , I remembered there is an issue relative to this one opened by you. Right? If there already has one, let me know and I will close this one.
On Fri, Aug 05, 2016 at 12:29:24PM -0700, hmeng-19 wrote:
@wking , I remembered there is an issue relative to this one opened by you. Right? If there already has one, let me know and I will close this one.
Also host-specific (but for validate) is #132. I made a host-specific generate comment in 1, but this can be about things like that.
@wking , thanks for pointing out. Then I will leave this issue open and work on a PR to fix the problem.