lxc

Automate `lxc-attach` through ssh with Python

Automate `lxc-attach` through ssh with Python Question: Question: How do I automate this process, and include all of the password prompts? Machine 1> ssh user2@machine2 password: Machine 2> lxc-attach -n 0x1000 Container> ssh user3@machine3 password: Machine 3> get_temperature.sh temperature is 65C Background: I am running some automated scripts on a computer (Machine 1) with several …

Total answers: 1