ExecuteLXCShell opens an interactive session to an LXC container using 'pct enter'. This is a convenience function that uses the default executor and context. For containers that require special handling (like NixOS), use ExecuteLXCShellWithVM. Parameters: - user: SSH username for authentication t
(user, nodeIP string, vmID int, jumphost config.SSHJumpHost)
| 163 | // |
| 164 | // Returns an error if the connection fails. |
| 165 | func ExecuteLXCShell(user, nodeIP string, vmID int, jumphost config.SSHJumpHost) error { |
| 166 | return ExecuteLXCShellWith(context.Background(), NewDefaultExecutor(), user, nodeIP, vmID, nil, jumphost) |
| 167 | } |
| 168 | |
| 169 | // ExecuteLXCShellWithVM opens an interactive session to an LXC container with automatic OS detection. |
| 170 | // |
nothing calls this directly
no test coverage detected