pull/8/head
Bohan Yang 5 years ago
parent 79a4cfb982
commit 43761b2038
  1. 6
      debi.sh

@ -280,13 +280,13 @@ while [ $# -gt 0 ]; do
shift shift
done done
installer="debian-$suite"
installer_directory="/boot/$installer"
if [ -n "$authorized_keys_url" ] && ! download "$authorized_keys_url" /dev/null; then if [ -n "$authorized_keys_url" ] && ! download "$authorized_keys_url" /dev/null; then
err "Failed to download SSH authorized public keys from \"$authorized_keys_url\"" err "Failed to download SSH authorized public keys from \"$authorized_keys_url\""
fi fi
installer="debian-$suite"
installer_directory="/boot/$installer"
save_preseed='cat' save_preseed='cat'
if [ "$dry_run" = false ]; then if [ "$dry_run" = false ]; then
[ "$(id -u)" -ne 0 ] && err 'root privilege is required' [ "$(id -u)" -ne 0 ] && err 'root privilege is required'

Loading…
Cancel
Save