Commit Graph

9 Commits

Author SHA1 Message Date
Fabio Erculiani bba60f30c2 [molecule] rewrite molecule.utils.exec_cmd() to not use shell=True
The following changes were required code-wide:
- use shlex.split() to split commands read from spec files
- use glob.glob() where required
- write command splitter function and make use of it instead of
  simple string splitter
2011-09-04 11:52:02 +02:00
Fabio Erculiani 91cbe7bd6f [molecule.specs] always make sure to kill processes running inside chroots if failing 2011-07-21 13:56:03 +02:00
Fabio Erculiani 50f38369e9 [molecule] image_plugin: fix chroot copy to mounted image file 2011-07-20 23:53:39 +02:00
Fabio Erculiani 426f264213 [molecule*] beautify output, make molecule.settings contain only utf strings 2010-12-18 16:07:05 +01:00
Fabio Erculiani df9e0af193 [molecule] add support for MOLECULE_TMPDIR environment variable (defaulting to /var/tmp), so that user can override it 2010-11-11 19:18:58 +01:00
Fabio Erculiani a7e14b230f [molecule.specs.plugins] also parse execution_strategy, avoid it getting pulled in in other parameters 2010-10-15 12:27:51 +02:00
Fabio Erculiani 439afef721 [molecule.specs.plugins.image_plugin] improve loop device removal logic 2010-08-11 11:23:43 +02:00
Fabio Erculiani 59f241dcaa [molecule.specs.plugins] image_plugin: save one function call by calling os.urandom() directly 2010-08-08 23:50:02 +02:00
Fabio Erculiani 3e918c703c [molecule.specs.plugins] introduce iso_to_image plugin.
This plugin allows to build filesystem images (user can define the
filesystem type) off an ISO image.
2010-08-08 23:41:57 +02:00