Hi I am trying to automate lxc container creation/starting/stopping and executing commands inside them via script (Bash/Python). I was able to create a container which is a very simple step
lxc-create -t ubuntu -n CONTAINER1
Now I want to start this container and login to it using a script. I tried expect to pass the username and password which did not work.
lxc-start -n CONTAINER1
Any ideas would be appreciated.