amazon-image: include ec2-utils in udev rules
This sets up device mappings like /dev/xvda -> /dev/nvme0n1
This commit is contained in:
parent
a5ca97028f
commit
4c446b8268
@ -125,6 +125,9 @@ in
|
|||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.openssh.permitRootLogin = "prohibit-password";
|
services.openssh.permitRootLogin = "prohibit-password";
|
||||||
|
|
||||||
|
# Creates symlinks for block device names.
|
||||||
|
services.udev.packages = [ pkgs.ec2-utils ];
|
||||||
|
|
||||||
# Force getting the hostname from EC2.
|
# Force getting the hostname from EC2.
|
||||||
networking.hostName = mkDefault "";
|
networking.hostName = mkDefault "";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user