![预置 Late_command](https://linux22.com/image/216188/%E9%A2%84%E7%BD%AE%20Late_command.png)
我正在尝试将 a 添加late_command
到我的preseed.cfg
文件中,但出现以下错误。
命令:
d-i preseed/late_command string \
no_proxy=0,1,2,3,4,5,6,7,8,9 preseed_fetch /scripts/preseed_late_commands.sh /tmp/preseed_late_commands.sh ; \
/target/usr/bin/dos2unix /tmp/preseed_late_commands.sh || true; \
log-output -t preseed_late_commands.sh sh /tmp/preseed_late_commands.sh
我得到的错误:
Execution of preseeded command "d-i preseed/late_command string \
no_proxy=0,1,2,3,4,5,6,7,8,9 preseed_fetch /scripts/preseed_late_commands.sh /tmp/preseed_late_commands.sh ; \
/target/usr/bin/dos2unix /tmp/preseed_late_commands.sh || true; \
log-output -t preseed_late_commands.sh sh /tmp/preseed_late_commands.sh" failed with exit code 2.
信息:
操作系统:Debian 11(靶心)
preseed.cfg
目录:http/d-i/bullseye/preseed.cfg
preseed_late_commands.sh
目录:http/d-i/bullseye/scripts/preseed_late_commands.sh
错误图像:
我应该怎么做才能运行这个命令?
如何以及在哪里可以查看实时日志(控制台输出)或查找日志文件?