コード例 #1
0
 def bootstrap(self):
     #guest mode method
     suite = self.options['paellasuite'].value
     mirror = self.cfg.get('umlmachines', 'bootstrap_debmirror')
     bs = Debootstrap(suite, self.target, mirror)
     bs.exclude.append('pcmcia-cs')
     self.make_filesystem()
     self.mount_target()
     print 'mirror is', bs.mirror
     print 'command is', bs.command()
     os.system(bs.command())
     remove_debs(self.target)
コード例 #2
0
 def bootstrap(self):
     #guest mode method
     suite = self.options['paellasuite'].value
     mirror = self.cfg.get('umlmachines', 'bootstrap_debmirror')
     bs = Debootstrap(suite, self.target, mirror)
     bs.exclude.append('pcmcia-cs')
     self.make_filesystem()
     self.mount_target()
     print 'mirror is', bs.mirror
     print 'command is', bs.command()
     os.system(bs.command())
     remove_debs(self.target)
コード例 #3
0
 def bootstrap(self):
     suite = self.options['paellasuite'].value
     script = ''
     if 'bootstrap_script' in self.options.keys():
         script = self.options['bootstrap_script'].value
     if 'bootstrap_mirror' in self.options.keys():
         mirror = self.options['bootstrap_mirror'].value
     else:
         mirror = self.cfg.get('umlmachines', 'bootstrap_debmirror')
     bs = Debootstrap(suite=suite, root=self.target, mirror=mirror, script=script)
     bs.exclude.append('pcmcia-cs')
     self.make_filesystem()
     self.mount_target()
     print 'mirror is', bs.mirror
     print 'command is', bs.command()
     print 'script is', bs.script
     os.system(bs.command())
     remove_debs(self.target)
コード例 #4
0
ファイル: bootstrap.py プロジェクト: pombredanne/paella-svn
 def bootstrap(self):
     suite = self.options['paellasuite'].value
     script = ''
     if 'bootstrap_script' in self.options.keys():
         script = self.options['bootstrap_script'].value
     if 'bootstrap_mirror' in self.options.keys():
         mirror = self.options['bootstrap_mirror'].value
     else:
         mirror = self.cfg.get('umlmachines', 'bootstrap_debmirror')
     bs = Debootstrap(suite=suite,
                      root=self.target,
                      mirror=mirror,
                      script=script)
     bs.exclude.append('pcmcia-cs')
     self.make_filesystem()
     self.mount_target()
     print 'mirror is', bs.mirror
     print 'command is', bs.command()
     print 'script is', bs.script
     os.system(bs.command())
     remove_debs(self.target)