Added storage pool source helper comment
This commit is contained in:
parent
822d8975e0
commit
e6f3deaf99
|
@ -16,7 +16,7 @@ color() {
|
|||
|
||||
ctainr() {
|
||||
NAME=$1
|
||||
lxc storage create $NAME-pool dir
|
||||
lxc storage create $NAME-pool dir #Add "source=/path/to/storage" to use a different directory
|
||||
lxc launch images:debian/12 $NAME-container -s $NAME-pool
|
||||
sleep 10 # Delay to allow the container to start and get an IP address from the DHCP server
|
||||
CONTAINER_IP=$(lxc list | grep $NAME-container | awk '{print $6}')
|
||||
|
|
Loading…
Reference in New Issue