remove config txt output

This commit is contained in:
nachoparker 2017-09-11 14:35:32 +02:00
parent ef402e736b
commit c20649d625
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,6 @@
IMGNAME=$( basename "$IMGFILE" .img )_$( basename "$INSTALL_SCRIPT" .sh ).img
CFGOUT=config_$( basename "$INSTALL_SCRIPT" .sh ).txt
DBG=x
# $IMGOUT will contain the name of the last step
@ -99,7 +98,6 @@ set -e$DBG
"
echo "Launching installation"
echo -e "$PREINST_CODE\n$INSTALLATION_CODE\n$INSTALLATION_STEPS" | ssh_pi "$IP" || { echo "Installation to $IP failed" && return 1; }
echo "configuration saved to $CFGOUT"
}
function launch_installation_qemu()
@ -189,7 +187,6 @@ function config()
done
INSTALLATION_CODE="$( sed "$SEDRULE" "$INSTALL_SCRIPT" )"
[[ "$CFGOUT" != "" ]] && echo -e "$CONFIG" > "$CFGOUT"
}
function install_script()

View File

@ -145,6 +145,9 @@ EOF
# images are now tagged
test -f /usr/local/etc/ncp-baseimage || echo "untagged" > /usr/local/etc/ncp-baseimage
# remove artifacts
rm -f /usr/local/etc/nextcloudpi-config.d/config_.txt
# restart PHP to get updates in the ncp-web
# FIXME: php doesn't come up if run from ncp-web
#(