mirror of
https://github.com/retspen/webvirtcloud
synced 2026-07-03 01:55:41 +00:00
Compare commits
2 commits
3b43081b9d
...
48a2ab4997
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
48a2ab4997 | ||
|
|
4569dd03f9 |
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ def drbd_status(request, pk):
|
|||
|
||||
if instance.compute.type == 2:
|
||||
conn = instance.compute.login + "@" + instance.compute.hostname
|
||||
remoteDrbdStatus = subprocess.run(["ssh", conn, "sudo", "drbdadm", "status", "&&", "exit"], stdout=subprocess.PIPE, text=True)
|
||||
remoteDrbdStatus = subprocess.run(["ssh", conn, "sudo", "/usr/sbin/drbdadm", "status", "&&", "exit"], stdout=subprocess.PIPE, text=True)
|
||||
|
||||
if remoteDrbdStatus.stdout:
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue