LINUX.ORG.RU
ФорумAdmin

Virtualbox rcvboxdrv setup в деплое

 ,


0

1
# rcvboxdrv setup
/sbin/vboxconfig
mkdir -p /var/lib/shim-signed/mok
openssl req -nodes -new -x509 -newkey rsa:2048 -outform DER -addext "extendedKeyUsage=codeSigning" -keyout /var/lib/shim-signed/mok/MOK.priv -out /var/lib/shim-signed/mok/MOK.der
mokutil --import /var/lib/shim-signed/mok/MOK.der

В деплое у меня запрашивает информацию. Как бы это всё автоматизировать, чтобы не задавало вопросы?

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.  If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.
.....+...+..+++++++++++++++++++++++++++++++++++++++*..........+.........+.....+......+.+..............+....+++++++++++++++++++++++++++++++++++++++*..+...+..............+....+..+...+......+.+..................+.........+...+..+.+.....+....
...+..+.......+......+.....+....+......+++++++++++++++++++++++++++++++++++++++*...+.....+....+...+..+.......+.....+................+..+............+...+.......+...+...+..+.+............+..+......+++++++++++++++++++++++++++++++++++++++*...
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:
★★★★