Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

yaml file example ubuntu netplan error

# 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:
  version: 2
  ethernets:
    enp0s3:
       addresses: [192.168.0.183/24]
       gateway4: 192.168.0.250
       dhcp4: false
       nameservers: 
         addresses: [8.8.8.8,8.8.4.4]
       optional: true
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #yaml #file #ubuntu #netplan #error
ADD COMMENT
Topic
Name
2+8 =