run script to setup ssh on lxc create
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
fda5e0733a
commit
4e1b2d7dd4
@ -311,6 +311,11 @@ class LXC:
|
||||
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)
|
||||
|
||||
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):
|
||||
"""
|
||||
Run the creations checks and steps
|
||||
|
Loading…
Reference in New Issue
Block a user