summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/install/install-image-existing4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/install/install-image-existing b/scripts/install/install-image-existing
index f38e3701..21984906 100755
--- a/scripts/install/install-image-existing
+++ b/scripts/install/install-image-existing
@@ -218,6 +218,10 @@ if [ $space_avail -gt $space_needed_configdata ]; then
mkdir -p $ndir
find $VYATTA_NEW_CFG_DIR -maxdepth 1 -mindepth 1 \
-exec cp '-a' '{}' "$ndir/" ';'
+
+ # Set the upgraded flag
+ touch $ndir/.upgraded
+
chgrp -R vyattacfg $ndir
chmod -R 775 $ndir
if [ -x $DEMO_MIGRATE_SCRIPT ]; then