Ubuntu Server Guide
type: netplan-format mapping, see below default
Download 1.23 Mb. Pdf ko'rish
|
ubuntu-server-guide (1)
type: netplan-format mapping, see below default: DHCP on interfaces named eth* or en* can be inter-
active: yes netplan formatted network configuration. This will be applied during installation as well as in the installed system. The default is to interpret the config for the install media, which runs DHCPv4 on any interface with a name matching “eth” or ”en” but then disables any interface that does not receive an address. For example, to run dhcp6 on a particular NIC: 312 network : v e r s i o n : 2 e t h e r n e t s : e n p 0 s 3 1 f 6 : dhcp6 : y e s Note that thanks to a bug, the version of subiquity released with 20.04 GA forces you to write this with an extra “network:” key like so: network : network : v e r s i o n : 2 e t h e r n e t s : e n p 0 s 3 1 f 6 : dhcp6 : y e s Later versions support this syntax too for compatibility but if you can assume a newer version you should use the former. ## proxy type: URL or null default: no proxy can be interactive: yes The proxy to configure both during installation and for apt and for snapd in the target system. ## apt type: mapping default: see below can be interactive: yes Apt configuration, used both during the install and once booted into the target system. This uses the same format as curtin which is documented at https://curtin.readthedocs.io/en/latest/topics/apt_source.html, with one extension: the geoip key controls whether a geoip lookup is done. The default is: apt : p r e s e r v e _ s o u r c e s _ l i s t : f a l s e primary : − a r c h e s : [ i 3 8 6 , amd64 ] u r i : ” h t t p : / / a r c h i v e . ubuntu . com/ ubuntu ” − a r c h e s : [ d e f a u l t ] u r i : ” h t t p : / / p o r t s . ubuntu . com/ ubuntu−p o r t s ” g e o i p : t r u e If geoip is true and the mirror to be used is the default, a request is made to https://geoip.ubuntu.com/ lookup and the mirror uri to be used changed to be http://CC.archive.ubuntu.com/ubuntu where CC is the country code returned by the lookup (or similar for ports). If this section is not interactive, the request is timed out after 10 seconds. Any supplied config is merged with the default rather than replacing it. If you just want to set a mirror, use a config like this: apt : primary : − a r c h e s : [ d e f a u l t ] u r i : YOUR_MIRROR_GOES_HERE To add a ppa: 313 apt : s o u r c e s : c u r t i n −ppa : s o u r c e : ppa : c u r t i n −dev / t e s t −a r c h i v e ## storage Download 1.23 Mb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling