Merge pull request #15 from bitonic/patch-1
Add FIXME regarding address prefixLength for Hetzner
This commit is contained in:
commit
e815d85edf
|
@ -244,6 +244,12 @@ cat > /mnt/etc/nixos/configuration.nix <<EOF
|
||||||
networking.interfaces."$NIXOS_INTERFACE".ipv4.addresses = [
|
networking.interfaces."$NIXOS_INTERFACE".ipv4.addresses = [
|
||||||
{
|
{
|
||||||
address = "$IP_V4";
|
address = "$IP_V4";
|
||||||
|
# FIXME: The prefix length is commonly, but not always, 24.
|
||||||
|
# You should check what the prefix length is for your server
|
||||||
|
# by inspecting the netmask in the "IPs" tab of the Hetzner UI.
|
||||||
|
# For example, a netmask of 255.255.255.0 means prefix length 24
|
||||||
|
# (24 leading 1s), and 255.255.255.192 means prefix length 26
|
||||||
|
# (26 leading 1s).
|
||||||
prefixLength = 24;
|
prefixLength = 24;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue