make sure bash is installed on creation of lxc
This commit is contained in:
parent
d5911f7fcb
commit
7d124cf751
@ -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"})
|
||||
|
Loading…
Reference in New Issue
Block a user