mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-25 07:35:22 +00:00
Merge branch 'master' into master
This commit is contained in:
commit
fcd4b79431
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ def drbd_status(request, pk):
|
||||||
if instance.compute.type == 2:
|
if instance.compute.type == 2:
|
||||||
conn = instance.compute.login + "@" + instance.compute.hostname
|
conn = instance.compute.login + "@" + instance.compute.hostname
|
||||||
remoteDrbdStatus = subprocess.run(
|
remoteDrbdStatus = subprocess.run(
|
||||||
["ssh", conn, "sudo", "drbdadm", "status", "&&", "exit"],
|
["ssh", conn, "sudo", "/usr/sbin/drbdadm", "status", "&&", "exit"],
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
text=True,
|
text=True,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue