Attempt to bring up connection after provision for NetworkManager
This commit is contained in:
parent
9db70b1a01
commit
16d1e6f331
@ -511,6 +511,7 @@ def certidude_enroll(fork, no_wait, kerberos):
|
|||||||
click.echo("Created %s" % nm_config_path)
|
click.echo("Created %s" % nm_config_path)
|
||||||
if os.path.exists("/run/NetworkManager"):
|
if os.path.exists("/run/NetworkManager"):
|
||||||
os.system("nmcli con reload")
|
os.system("nmcli con reload")
|
||||||
|
os.system("nmcli con up %s" % uuid)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
||||||
@ -549,6 +550,7 @@ def certidude_enroll(fork, no_wait, kerberos):
|
|||||||
click.echo("Created %s" % fh.name)
|
click.echo("Created %s" % fh.name)
|
||||||
if os.path.exists("/run/NetworkManager"):
|
if os.path.exists("/run/NetworkManager"):
|
||||||
os.system("nmcli con reload")
|
os.system("nmcli con reload")
|
||||||
|
os.system("nmcli con up %s" % uuid)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
click.echo("Unknown service: %s" % service_config.get(endpoint, "service"))
|
click.echo("Unknown service: %s" % service_config.get(endpoint, "service"))
|
||||||
|
Loading…
Reference in New Issue
Block a user