Changeset 1173
- Timestamp:
- Apr 11, 2016, 2:24:33 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zero-server-wizard/trunk/fuentes/install-files/usr/share/zero-server-wizard/types/master/actions/065-nfs.py
r1040 r1173 28 28 29 29 ret=check_variables() 30 31 # Cleaning process just in case this is a reinitalization 32 33 print c.clean_exports_file(user,"NfsManager") 34 print c.remove_mount_on_boot(user,"NfsManager","/net/server-sync") 35 36 30 37 if self.template["enable_data_replication"].lower() == "true": 31 38 if ret[0]: … … 38 45 else: 39 46 user=self.template["masterkey"] 47 48 40 49 41 50 if self.template["export_nfs"]=="true": 42 pass 43 51 print c.add_share(user,"NfsManager","/net/server-sync","127.0.0.1") 44 52 45 53 if self.template["mount_nfs"]=="true": 46 #self.tempalte["nfs_ip"]47 pass54 print c.configure_mount_on_boot(user,"NfsManager",self.template["nfs_ip"],"/net/server-sync") 55 48 56 except Exception as e: 49 57 print e
Note: See TracChangeset
for help on using the changeset viewer.