Advertisement
sergio_educacionit

ubuntu22_neplan.yaml

Nov 11th, 2023
962
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.62 KB | None | 0 0
  1. # This file is generated from information provided by the datasource.  Changes
  2. # to it will not persist across an instance reboot.  To disable cloud-init's
  3. # network configuration capabilities, write a file
  4. # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
  5. # network: {config: disabled}
  6.  
  7. network:
  8.   ethernets:
  9.     enp0s3:
  10.       dhcp4: false
  11.       addresses:
  12.        - 190.0.0.4/24
  13.       nameservers:
  14.         addresses: [8.8.8.8, 8.8.4.4]
  15.       routes:
  16.         - to: default
  17.           via: 190.0.0.1
  18.       # match:
  19.       #   macaddress: 08:00:27:88:3d:f9
  20.       # set-name: enp0s3
  21.   version: 2
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement