You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
479 B

  1. # static ip configuration
  2. # /etc/netplan/50-cloud-init.yaml
  3. network:
  4. ethernets:
  5. eth0:
  6. dhcp4: true
  7. optional: true
  8. wifis:
  9. wlan0:
  10. dhcp4: no
  11. dhcp6: no
  12. addresses: [192.168.1.150/24]
  13. gateway4: 192.168.1.1
  14. nameservers:
  15. addresses: [1.1.1.1, 8.8.8.8]
  16. access-points:
  17. "wifiname":
  18. password: "password"
  19. version: 2