diff --git a/src/lxc/lxc.py b/src/lxc/lxc.py index dd6f0bc..28b82e4 100644 --- a/src/lxc/lxc.py +++ b/src/lxc/lxc.py @@ -317,6 +317,10 @@ class LXC(LinuxMachine): self.start() + # Make sure bash is installed for later use + if not self.has_program("bash"): + self.install_package("bash") + logging.info("Setting up SSH for LXC") # self.run_script(script_path="protected/scripts/install-config-ssh.sh") commands_utils.run_script(lxc=self, step={"local_path": "protected/scripts/install-config-ssh.sh"})