mirror of
				https://github.com/retspen/webvirtcloud
				synced 2025-07-31 12:41:08 +00:00 
			
		
		
		
	Fix DRBD command
This commit is contained in:
		
							parent
							
								
									3b43081b9d
								
							
						
					
					
						commit
						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