mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
nixos/manual/virtualbox-guest: Remove mentions of rngd
This commit is contained in:
parent
d7c15d0eec
commit
16b6c4b2d7
1 changed files with 1 additions and 6 deletions
|
@ -83,17 +83,12 @@
|
||||||
VirtualBox settings (Machine / Settings / Shared Folders, then click on the
|
VirtualBox settings (Machine / Settings / Shared Folders, then click on the
|
||||||
"Add" icon). Add the following to the
|
"Add" icon). Add the following to the
|
||||||
<literal>/etc/nixos/configuration.nix</literal> to auto-mount them. If you do
|
<literal>/etc/nixos/configuration.nix</literal> to auto-mount them. If you do
|
||||||
not add <literal>"nofail"</literal>, the system will not boot properly. The
|
not add <literal>"nofail"</literal>, the system will not boot properly.
|
||||||
same goes for disabling <literal>rngd</literal> which is normally used to get
|
|
||||||
randomness but this does not work in virtual machines.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<programlisting>
|
<programlisting>
|
||||||
{ config, pkgs, ...} :
|
{ config, pkgs, ...} :
|
||||||
{
|
{
|
||||||
security.rngd.enable = false; // otherwise vm will not boot
|
|
||||||
...
|
|
||||||
|
|
||||||
fileSystems."/virtualboxshare" = {
|
fileSystems."/virtualboxshare" = {
|
||||||
fsType = "vboxsf";
|
fsType = "vboxsf";
|
||||||
device = "nameofthesharedfolder";
|
device = "nameofthesharedfolder";
|
||||||
|
|
Loading…
Reference in a new issue