diff --git a/htb/__main__.py b/htb/__main__.py index aa56481..c376803 100755 --- a/htb/__main__.py +++ b/htb/__main__.py @@ -912,6 +912,7 @@ def _nm_import_vpn(self, name, force=True) -> NetworkManager.Connection: with tempfile.NamedTemporaryFile() as ovpn: # Write the configuration to a file ovpn.write(self.cnxn.lab.config) + ovpn.flush() # Import the connection w/ Network Manager CLI p = subprocess.run(