run script to setup ssh on lxc create
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Mathieu Broillet 2023-06-13 15:30:04 +02:00
parent fda5e0733a
commit 4e1b2d7dd4
No known key found for this signature in database
GPG Key ID: 7D4F25BC50A0AA32

View File

@ -311,6 +311,11 @@ class LXC:
logging.info(f"Creating LXC {self.lxc_id}") logging.info(f"Creating LXC {self.lxc_id}")
proxmox_utils.run_command_on_pve(command=self.get_pct_command(create=True), warn_exit_status=True) proxmox_utils.run_command_on_pve(command=self.get_pct_command(create=True), warn_exit_status=True)
self.start()
logging.info("Setting up SSH for LXC")
commands_utils.run_script(lxc=self, step={"local_path": "protected/scripts/install-config-ssh.sh"})
def run_creation(self): def run_creation(self):
""" """
Run the creations checks and steps Run the creations checks and steps