diff --git a/install.sh b/install.sh index db89cf67b8946..e9c826350154c 100755 --- a/install.sh +++ b/install.sh @@ -329,7 +329,7 @@ install_deb() { fetch "https://github.com/coder/coder/releases/download/v$VERSION/coder_${VERSION}_${OS}_${ARCH}.deb" \ "$CACHE_DIR/coder_${VERSION}_$ARCH.deb" - sudo_sh_c dpkg -i "$CACHE_DIR/coder_${VERSION}_$ARCH.deb" + sudo_sh_c dpkg --force-confdef --force-confold -i "$CACHE_DIR/coder_${VERSION}_$ARCH.deb" echo_systemd_postinstall deb } diff --git a/preinstall.sh b/preinstall.sh index a343836c90b6d..932dab26b04f7 100644 --- a/preinstall.sh +++ b/preinstall.sh @@ -6,6 +6,7 @@ USER="coder" # Add a Coder user to run as in systemd. if ! id -u $USER >/dev/null 2>&1; then useradd \ + --create-home \ --system \ --user-group \ --shell /bin/false \
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: