Guest User

Untitled

a guest
Oct 22nd, 2019
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. artur@nas:~$ lxc profile show test
  2. config: {}
  3. description: Default LXD profile
  4. devices:
  5. eno1:
  6. name: eno1
  7. nictype: bridged
  8. parent: natbr0
  9. type: nic
  10. root:
  11. path: /
  12. pool: storage
  13. type: disk
  14. name: test
  15. used_by:
  16. - /1.0/containers/another-test
  17. artur@nas:~$ lxc init images:alpine/3.7 test1 -p test
  18. Creating test1
  19. artur@nas:~$ lxc start test1
  20. artur@nas:~$ lxc exec test1 cat /etc/network/interfaces
  21. auto eth0
  22. iface eth0 inet dhcp
  23. hostname $(hostname)
Add Comment
Please, Sign In to add comment