-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from mila-iqia/feat/netcfg_snippet
feat: Add new snippet for network config
- Loading branch information
Showing
3 changed files
with
71 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# {{ ansible_managed }} | ||
# Disable network configuration entirely. This is useful for cdrom | ||
# installations on non-networked devices where the network questions, | ||
# warning and long timeouts are a nuisance. | ||
#d-i netcfg/enable boolean false | ||
|
||
# netcfg will choose an interface that has link if possible. This makes it | ||
# skip displaying a list if there is more than one interface. | ||
d-i netcfg/choose_interface select auto | ||
|
||
# To pick a particular interface instead: | ||
#d-i netcfg/choose_interface select eth1 | ||
|
||
# To set a different link detection timeout (default is 3 seconds). | ||
# Values are interpreted as seconds. | ||
#d-i netcfg/link_wait_timeout string 10 | ||
|
||
# If you have a slow dhcp server and the installer times out waiting for | ||
# it, this might be useful. | ||
#d-i netcfg/dhcp_timeout string 60 | ||
#d-i netcfg/dhcpv6_timeout string 60 | ||
|
||
# Automatic network configuration is the default. | ||
# If you prefer to configure the network manually, uncomment this line and | ||
# the static network configuration below. | ||
#d-i netcfg/disable_autoconfig boolean true | ||
|
||
# If you want the preconfiguration file to work on systems both with and | ||
# without a dhcp server, uncomment these lines and the static network | ||
# configuration below. | ||
#d-i netcfg/dhcp_failed note | ||
#d-i netcfg/dhcp_options select Configure network manually | ||
|
||
# Static network configuration. | ||
# | ||
# IPv4 example | ||
#d-i netcfg/get_ipaddress string 192.168.1.42 | ||
#d-i netcfg/get_netmask string 255.255.255.0 | ||
#d-i netcfg/get_gateway string 192.168.1.1 | ||
#d-i netcfg/get_nameservers string 192.168.1.1 | ||
#d-i netcfg/confirm_static boolean true | ||
# | ||
# IPv6 example | ||
#d-i netcfg/get_ipaddress string fc00::2 | ||
#d-i netcfg/get_netmask string ffff:ffff:ffff:ffff:: | ||
#d-i netcfg/get_gateway string fc00::1 | ||
#d-i netcfg/get_nameservers string fc00::1 | ||
#d-i netcfg/confirm_static boolean true | ||
|
||
# Any hostname and domain names assigned from dhcp take precedence over | ||
# values set here. However, setting the values still prevents the questions | ||
# from being shown, even if values come from dhcp. | ||
d-i netcfg/get_hostname string unassigned-hostname | ||
d-i netcfg/get_domain string unassigned-domain | ||
|
||
# If you want to force a hostname, regardless of what either the DHCP | ||
# server returns or what the reverse DNS entry for the IP is, uncomment | ||
# and adjust the following line. | ||
#d-i netcfg/hostname string somehost | ||
|
||
# Disable that annoying WEP key dialog. | ||
d-i netcfg/wireless_wep string | ||
# The wacky dhcp hostname that some ISPs use as a password of sorts. | ||
#d-i netcfg/dhcp_hostname string radish | ||
|
||
# If non-free firmware is needed for the network or other hardware, you can | ||
# configure the installer to always try to load it, without prompting. Or | ||
# change to false to disable asking. | ||
#d-i hw-detect/load_firmware boolean true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters