Debian

通過命令行自動安裝 VirtualBox Guest Additions

  • December 11, 2012

如何以無人值守的方式從 Bash 腳本安裝VirtualBox Guest Additions ?

每當我apt-get -y install dkms virtualbox-guest-dkms從終端執行時,我都會看到一個互動式對話框,有沒有辦法安全地繞過或預先選擇對話框選項?

嘗試這樣做:

DEBIAN_FRONTEND=noninteractive apt-get -y install dkms virtualbox-guest-dkms

請參閱https://serverfault.com/questions/227190/how-do-i-ask-apt-get-to-skip-any-interactive-post-install-configuration-steps

引用自:https://unix.stackexchange.com/questions/58216