From 92a2a5fcd11dd458dee5a11e81308e93793d210b Mon Sep 17 00:00:00 2001 From: Bohan Yang Date: Wed, 23 Sep 2020 19:48:53 +0800 Subject: [PATCH] Update --- netboot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netboot.sh b/netboot.sh index dd5b3b4..abd79e2 100644 --- a/netboot.sh +++ b/netboot.sh @@ -261,7 +261,7 @@ d-i anna/choose_modules string network-console d-i preseed/early_command string anna-install network-console EOF if [ -n "$authorized_keys_url" ]; then - _late_command "cd ~$username && mkdir -m 700 .ssh && wget -qO .ssh/authorized_keys $authorized_keys_url" + _late_command "cd ~$username && mkdir -m 700 .ssh && busybox wget -qO .ssh/authorized_keys $authorized_keys_url" $save_preseed << EOF d-i network-console/password-disabled boolean true d-i network-console/authorized_keys_url string $authorized_keys_url