User Tools

Site Tools


lxd:add_container

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
lxd:add_container [2018/09/09 11:57]
adyxax
lxd:add_container [2018/09/25 15:00] (current)
Line 58: Line 58:
 <​code>​ <​code>​
 HOSTNAME=test HOSTNAME=test
 +IP=172.16.5.3/​24
 lxc launch images:​gentoo ${HOSTNAME} lxc launch images:​gentoo ${HOSTNAME}
-lxc exec ${HOSTNAME} ​+lxc exec ${HOSTNAME} ​rm -rf /​usr/​portage 
 +lxc exec ${HOSTNAME} mdkir /​usr/​portage
 lxc config device add ${HOSTNAME} portage disk path=/​usr/​portage/​ source=/​usr/​portage lxc config device add ${HOSTNAME} portage disk path=/​usr/​portage/​ source=/​usr/​portage
-lxc exec ${HOSTNAME}  +lxc exec ${HOSTNAME} ​TODO net 
-lxc exec ${HOSTNAME} ​+lxc exec ${HOSTNAME} ​TODO profile 
 +lxc exec ${HOSTNAME} TODO make.conf
 </​code>​ </​code>​
lxd/add_container.txt · Last modified: 2018/09/25 15:00 (external edit)