mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
fixed mount issue
This commit is contained in:
parent
950ed41436
commit
44a8fdf918
@ -103,6 +103,7 @@ class NFSSR(FileSR.FileSR):
|
|||||||
def attach(self, sr_uuid):
|
def attach(self, sr_uuid):
|
||||||
self.validate_remotepath(False)
|
self.validate_remotepath(False)
|
||||||
#self.remotepath = os.path.join(self.dconf['serverpath'], sr_uuid)
|
#self.remotepath = os.path.join(self.dconf['serverpath'], sr_uuid)
|
||||||
|
self.remotepath = self.dconf['serverpath']
|
||||||
util._testHost(self.dconf['server'], NFSPORT, 'NFSTarget')
|
util._testHost(self.dconf['server'], NFSPORT, 'NFSTarget')
|
||||||
self.mount_remotepath(sr_uuid)
|
self.mount_remotepath(sr_uuid)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user