Advertisement
Guest User

Untitled

a guest
Jul 4th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. root@vps:/etc/netplan$ cat config.yml
  2. network:
  3. version: 2
  4. renderer: networkd
  5. ethernets:
  6. eth0:
  7. addresses:
  8. - 173.255.214.247/24
  9. - 23.92.25.103/24
  10. - 2600:3c01::f03c:91ff:feae:b9/64
  11. - 2600:3c01:e000:0308::250:2/64
  12. routes:
  13. - to: 0.0.0.0/0
  14. via: 173.255.214.1
  15. metric: 10
  16. - to: 0.0.0.0/0
  17. via: 23.92.25.1
  18. metric: 100
  19. - to: 0::0/0
  20. via fe80::1
  21. metrix 10
  22. root@vps:/etc/netplan$ sudo netplan apply
  23. Traceback (most recent call last):
  24. File "/usr/sbin/netplan", line 23, in <module>
  25. netplan.main()
  26. File "/usr/share/netplan/netplan/cli/core.py", line 50, in main
  27. self.run_command()
  28. File "/usr/share/netplan/netplan/cli/utils.py", line 130, in run_command
  29. self.func()
  30. File "/usr/share/netplan/netplan/cli/commands/apply.py", line 43, in run
  31. self.run_command()
  32. File "/usr/share/netplan/netplan/cli/utils.py", line 130, in run_command
  33. self.func()
  34. File "/usr/share/netplan/netplan/cli/commands/apply.py", line 106, in command_apply
  35. stderr=subprocess.DEVNULL)
  36. File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
  37. raise CalledProcessError(retcode, cmd)
  38. subprocess.CalledProcessError: Command '['udevadm', 'test-builtin', 'net_setup_link', '/sys/class/net/eth0:0']' returned non-zero exit status 4.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement