OpenNebula / addon-context-linux

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

B #112: Move script location outside of /tmp #222

Closed ospalax closed 3 years ago

ospalax commented 3 years ago

Introduce new OpenNebula directory /var/lib/one-context where a new tmp directory is located. This new one will not be mounted with noexec option on any system by default.

Add cleanup handler on the script exit and ensure the correct return code for the init scripts (if one or more fail then return non-zero).

Update onesysprep and set its version by generate.sh script.

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