Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OS to lima.yaml for future guests #1735

Merged
merged 1 commit into from
Aug 12, 2023

Conversation

afbjorklund
Copy link
Member

@afbjorklund afbjorklund commented Aug 12, 2023

Avoid hardcoding "linux" everywhere, use OS instead (like Arch).

TODO: Add proper cidata template parameter for LIMA_CIDATA_HOME

There are some other hardcoded Linux or Systemd specific things too:

/bin/bash or /run, those are not addressed here and are left as is.


Doing the OS refactoring in a separate PR, makes it easier to add OS

Avoid hardcoding "linux" everywhere, use OS instead (like Arch).

TODO: Add proper cidata template parameter for LIMA_CIDATA_HOME

Signed-off-by: Anders F Björklund <[email protected]>
@afbjorklund
Copy link
Member Author

Home directory parameter here:

Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@AkihiroSuda AkihiroSuda merged commit fa053a3 into lima-vm:master Aug 12, 2023
cdfmlr added a commit to cdfmlr/lima that referenced this pull request Aug 31, 2023
This commit fix lima-vm#1768 by:

1. add `"OS"` to the know list since lima-vm#1735 introduced this field. 
2. make the log message more clear: `Ignoring: vmType vz: [...]` -> `Ignoring following configuration due to the use of vmType vz: [...]`
cdfmlr added a commit to cdfmlr/lima that referenced this pull request Aug 31, 2023
This commit fix lima-vm#1768 by:

1. add `"OS"` to the know list since lima-vm#1735 introduced this field.
2. make the log message more clear: `Ignoring: vmType vz: [...]` -> `Ignoring following configuration due to the use of vmType vz: [...]`

Signed-off-by: Yuehchan Chueng <[email protected]>
cdfmlr added a commit to cdfmlr/lima that referenced this pull request Aug 31, 2023
This commit fix lima-vm#1768 by:

1. add `"OS"` to the know list since lima-vm#1735 introduced this field.
2. make the log message more clear: `Ignoring: vmType vz: [...]` -> `Ignoring following configuration due to the use of vmType vz: [...]`

Signed-off-by: CDFMLR <[email protected]>
cdfmlr added a commit to cdfmlr/lima that referenced this pull request Sep 11, 2023
This commit fix lima-vm#1768 by:

1. add `"OS"` to the know list since lima-vm#1735 introduced this field.
2. make the log message clear: `Ignoring: vmType vz: [...]` -> `vmType vz:
ignoring ...`

Signed-off-by: CDFMLR <[email protected]>
DennisRasey pushed a commit to DennisRasey/lima that referenced this pull request Jan 11, 2024
This commit fix lima-vm#1768 by:

1. add `"OS"` to the know list since lima-vm#1735 introduced this field.
2. make the log message clear: `Ignoring: vmType vz: [...]` -> `vmType vz:
ignoring ...`

Signed-off-by: CDFMLR <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants