summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2015-04-01 13:04:55 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2015-04-10 13:52:26 +0000
commit128b96f0279b7f512d20dfd0efca299c2f86b2c9 (patch)
treed25ac01aef8db5a16c4fd92ac4fb43229cbc7a9e
parent2c2fdfeb605b2d393336d1b03e18c6122f293b3e (diff)
downloadmorph-128b96f0279b7f512d20dfd0efca299c2f86b2c9.tar.gz
fixup: Add a command line option for repo mode
-rw-r--r--morphlib/app.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/morphlib/app.py b/morphlib/app.py
index 4a7a64e5..800258e0 100644
--- a/morphlib/app.py
+++ b/morphlib/app.py
@@ -128,6 +128,15 @@ class Morph(cliapp.Application):
'supported at this time.',
default='overlayfs',
group=group_advanced)
+ self.settings.string(['ostree-repo-mode'],
+ 'Mode for OSTree artifact cache repository. If '
+ 'things will need to pull from your cache, this '
+ 'needs to be "archive_z2". Otherwise use '
+ '"bare". Note that archive_z2 will cause things '
+ 'involving the artifact cache (building and/or '
+ 'deploying) to be slow.',
+ default='bare',
+ group=group_advanced)
group_build = 'Build Options'
self.settings.integer(['max-jobs'],