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

ForceStop option is ignored and is always true #115

Closed
shinny-taojiachun opened this issue Nov 24, 2023 · 0 comments · Fixed by #116
Closed

ForceStop option is ignored and is always true #115

shinny-taojiachun opened this issue Nov 24, 2023 · 0 comments · Fixed by #116
Labels

Comments

@shinny-taojiachun
Copy link
Contributor

shinny-taojiachun commented Nov 24, 2023

When filing a bug, please include the following headings if possible. Any
example text in this template can be deleted.

Overview of the Issue

Currently, the API call for create image will always have ForceStop set to true. This behavior will lead to some file modified during provisioning get lost in final image because modification has not been synced to disk in time.

Reproduction Steps

Doing only echo 'root:testpwd' | chpasswd and you should find password incorrect for root when start a new cvm.

Plugin and Packer version

Simplified Packer Buildfile

Operating system and Environment details

Ubuntu, Github Action

Log Fragments and crash.log files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant