forked from ungleich-public/cdist
minor updates for preos
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
65cab0d0e8
commit
adab987994
2 changed files with 4 additions and 2 deletions
|
@ -42,7 +42,7 @@ class PreOS(object):
|
||||||
self.options = [ "--include=openssh-server",
|
self.options = [ "--include=openssh-server",
|
||||||
"--arch=%s" % self.arch ]
|
"--arch=%s" % self.arch ]
|
||||||
|
|
||||||
def run(self):
|
def bootstrap(self):
|
||||||
cmd = [ self.command ]
|
cmd = [ self.command ]
|
||||||
cmd.extend(self.options)
|
cmd.extend(self.options)
|
||||||
cmd.append(self.suite)
|
cmd.append(self.suite)
|
||||||
|
@ -52,6 +52,8 @@ class PreOS(object):
|
||||||
|
|
||||||
subprocess.call(cmd)
|
subprocess.call(cmd)
|
||||||
|
|
||||||
|
def run(self):
|
||||||
|
self.bootstrap()
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def commandline(cls, args):
|
def commandline(cls, args):
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
- debootstrap for the moment
|
- debootstrap for the moment
|
||||||
-
|
- add triggers: https://github.com/telmich/cdist/issues/214
|
||||||
|
|
Loading…
Reference in a new issue