Thanks for the reply.
I create hundreds of containers in batch so entering the password manually for every single container is not suitable for me.
Could I run the command like this?
echo $password | pct create 100 /var/lib/vz/template/cache/centos-6-my-x86_64.tar.gz -cpuunits 0 -cpulimit 1...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.