diff options
author | Vincent Knecht <vincent.knecht@mailoo.org> | 2016-02-16 21:44:21 +0100 |
---|---|---|
committer | Vincent Knecht <vincent.knecht@mailoo.org> | 2016-02-16 21:44:21 +0100 |
commit | cb91ab1abbaeb94ddb69c9050640e48546e55068 (patch) | |
tree | 2c350b83a18167fc70cff379097d999e880f390b /README.md | |
parent | 8ff1a20fef99593f37c82382fe5c29af91638328 (diff) | |
download | rpi2-gen-image-cb91ab1abbaeb94ddb69c9050640e48546e55068.tar.gz rpi2-gen-image-cb91ab1abbaeb94ddb69c9050640e48546e55068.tar.bz2 rpi2-gen-image-cb91ab1abbaeb94ddb69c9050640e48546e55068.zip |
Add support for static network configuration.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -40,6 +40,33 @@ Set default system locale and keyboard layout. This setting can also be changed ##### `TIMEZONE`="Europe/Berlin" Set default system timezone. All available timezones can be found in the `/usr/share/zoneinfo/` directory. This setting can also be changed inside the running OS using the `dpkg-reconfigure tzdata` command. +#### Networking settings +These settings are used to set up networking configuration in `/etc/systemd/network/eth.network`. + +#####`ENABLE_DHCP`=true +Set the system to use DHCP. When set to "true", the following `NET_*` settings (used for static configuration) are ignored. + +#####`NET_ADDRESS`="" +Set a static IPv4 or IPv6 address and its prefix, separated by "/", eg. "192.169.0.3/24". + +#####`NET_GATEWAY`="" +Set the IP address for the default gateway. + +#####`NET_DNS_1`="" +Set the IP address for the first DNS server. + +#####`NET_DNS_2`="" +Set the IP address for the second DNS server. + +#####`NET_DNS_DOMAINS`="" +Set the default DNS search domains to use for non fully qualified host names. + +#####`NET_NTP_1`="" +Set the IP address for the first NTP server. + +#####`NET_NTP_2`="" +Set the IP address for the second NTP server. + #### Basic system features: ##### `ENABLE_CONSOLE`=true Enable serial console interface. Recommended if no monitor or keyboard is connected to the RPi2. In case of problems fe. if the network (auto) configuration failed - the serial console can be used to access the system. |