Merge pull request #15 from bitonic/patch-1

Add FIXME regarding address prefixLength for Hetzner
This commit is contained in:
Raphael Megzari 2021-10-06 20:45:05 +09:00 committed by GitHub
commit e815d85edf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
} }
]; ];