colima template
command not working as expected
#1402
Closed
AjayZorroG
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When we run
colima template
command : it performs the following steps :Creates a temporary configuration file.
This file is opened for user modification in the default system editor.
Upon successful save and exit, the command is designed to copy the updated configuration from the temporary file to the permanent user profile file at ~/.colima/default/colima.yaml.
Root Cause of Failure:
The process of copying the modified contents from the temporary file to the permanent colima.yaml file is failing. Consequently, the user's modifications are not persisted.
Functional Workaround:
Users must manually edit the configuration file directly at ~/.colima/default/colima.yaml.
This method ensures that modifications are written and saved to the correct location.
Deployment of Changes:
After the colima.yaml file is updated, the changes are not immediately active.
The Colima VM must be stopped and restarted (colima stop followed by colima start) to apply the new configuration.
Conclusion: The output of
colima list
does not match the modifications made in the temporary file because the changes were never successfully written to the permanent configuration file used by Colima.Beta Was this translation helpful? Give feedback.
All reactions