我正在使用packer构建自己的Ubuntu虚拟机,以便在Atlas上托管。我正在使用packer build template.json
测试它是否成功,但当我运行mysql.sh脚本时,出现以下错误:
virtualbox-iso: debconf: unable to initialize frontend: Dialog
virtualbox-iso: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
virtualbox-iso: debconf: falling back to frontend: Readline
virtualbox-iso: Configuring mysql-server-5.6
virtualbox-iso: ----------------------------
virtualbox-iso:
virtualbox-iso: While not mandatory, it is highly recommended that you set a password for the
virtualbox-iso: MySQL administrative "root" user.
virtualbox-iso:
virtualbox-iso: If this field is left blank, the password will not be changed.
virtualbox-iso:
我在使用debconf
时是否有什么遗漏?
谢谢。