Added storage pool source helper comment

This commit is contained in:
Dionysus 2024-02-22 13:43:13 -05:00
parent 822d8975e0
commit e6f3deaf99
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE
1 changed files with 1 additions and 1 deletions

View File

@ -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}')