OpenNebula / addon-context-linux

Linux VM Contextualization
Apache License 2.0
56 stars 73 forks source link

B #253: Fix onesysprep and 'last' cmd #254

Closed ospalax closed 2 years ago

ospalax commented 2 years ago

Signed-off-by: Petr Ospalý pospaly@opennebula.io

Changes proposed in this pull request:

ospalax commented 2 years ago

This was not an actual error to be fixed - the behavior is correct as is - upon running the onesysprep command the aforementioned files are deleted, the system then should be power-offed and image saved.

Upon a reboot these files are correctly recreated and last command functions correctly.

If this workaround would be merged then it would leave the last session before power-off baked in the image and therefore it would not be properly cleaned up.