Advertisement
nejtr0n

ubuntu netplan config

Jan 23rd, 2019
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. sudo vi /etc/netplan/50-cloud-init.yaml
  2. network:
  3. ethernets:
  4. enp0s8:
  5. addresses: [10.10.10.111/24]
  6. dhcp4: no
  7. optional: true
  8. enp0s3:
  9. addresses: []
  10. dhcp4: true
  11. optional: true
  12. version: 2
  13.  
  14. sudo netplan --debug generate
  15. sudo netplan --debug apply
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement