Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Iso prepare
(view source)
Revision as of 11:53, 28 December 2014
2 bytes added
,
11:53, 28 December 2014
no edit summary
Line 32:
Line 32:
for l in glob.glob("/dev/loop*"):
for l in glob.glob("/dev/loop*"):
rootObj.mounts.add(BindMountPoint(srcpath=l, bindpath=rootObj.makeChrootPath(l)))
rootObj.mounts.add(BindMountPoint(srcpath=l, bindpath=rootObj.makeChrootPath(l)))
−
+
decorate(traceLog())
decorate(traceLog())
def _isoPreparePostInitHook(self):
def _isoPreparePostInitHook(self):
Line 41:
Line 41:
fullPath = os.path.join(dirpath, filename)
fullPath = os.path.join(dirpath, filename)
os.unlink(fullPath)
os.unlink(fullPath)
−
+
# update sudoers file
# update sudoers file
sudoers_out = self.rootObj.makeChrootPath('/etc/sudoers')
sudoers_out = self.rootObj.makeChrootPath('/etc/sudoers')
Stephdl
Administrators
5,576
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version