diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-05-12 15:51:04 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-05-12 15:51:04 -0300 |
commit | 577e07f537d3edc6925d65f8829fdb506b522a2d (patch) | |
tree | 4e094d7df73bfcd7d6ed9f48bd85c76454164fcd | |
parent | 833f61610af0afed244dea654a103987ff381122 (diff) | |
download | kvmx-577e07f537d3edc6925d65f8829fdb506b522a2d.tar.gz kvmx-577e07f537d3edc6925d65f8829fdb506b522a2d.tar.bz2 |
Remove old state folder at kvmx_clone
-rwxr-xr-x | kvmx | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -725,6 +725,9 @@ function kvmx_clone { cp -r `dirname $image` $FOLDER/ fi + # Remove old state folder + rm -rf $FOLDER/state/* + # Create config entry ( cd $GLOBAL_USER_CONFIG_FOLDER && ln -s $FOLDER/kvmxfile $DEST ) |