[PR]
×
[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。
[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。
H/W path Device Class Description ==================================================== /0/100/19 enp0s25 network 82579LM Gigabit Network Connection /0/100/1c.1/0 wlp2s0 network Centrino Advanced-N 6205 [Taylor Peak] |
# This file is generated from information provided by # the datasource. Changes to it will not persist across an instance. # To disable cloud-init's network configuration capabilities, write a file # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following: # network: {config: disabled} network: ethernets: enp0s25: dhcp4: no addresses: [192.168.1.128/24] gateway4: 192.168.1.1 nameservers: addresses: - 192.168.1.1 version: 2 |
・[]を使用する場合 nameservers: addresses: [8.8.8.8,8.8.4.4] ※","で区切る ・-を使用する場合 nameservers: addresses: - 8.8.8.8 - 8.8.4.4 |
・[]を使用する場合 enp0s25: dhcp4: no addresses: [192.168.11.129/24] ・-を使用する場合 enp0s25: dhcp4: no addresses: - 192.168.1.128/24 |
wifis: wlp2s0: dhcp4: false addresses: - 192.168.1.129/24 gateway4: 192.168.1.1 nameservers: addresses: - 192.168.1.1 search: [] access-points: "ABCDEFG": password: "12345678" version: 2 renderer: NetworkManager |
# This file is generated from information provided by # the datasource. Changes to it will not persist across an instance. # To disable cloud-init's network configuration capabilities, write a file # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following: # network: {config: disabled} network: ethernets: enp0s25: addresses: - 192.168.1.128/24 dhcp4: false gateway4: 192.168.1.1 nameservers: addresses: - 192.168.1.1 search: [] wifis: wlp2s0: dhcp4: false addresses: - 192.168.1.129/24 gateway4: 192.168.1.1 nameservers: addresses: - 192.168.1.1 search: [] access-points: "ABCDEFG": password: "12345678" version: 2 renderer: NetworkManager |
Invalid YAML at //etc/netplan/50-cloud-init.yaml line 22 column 28: mapping values are not allowed in this context |