Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit fb180e80 authored by Marc Beninca's avatar Marc Beninca
Browse files

deb

parent deb709d4
Branches dev
No related tags found
No related merge requests found
deb.py 0 → 100644
import subprocess
BOOTSTRAP_ARCHITECTURE = 'amd64'
BOOTSTRAP_VARIANT = 'minbase'
def bootstrap(root_path: str, suite: str, mirror_location: str):
command = [
'debootstrap',
'--arch', BOOTSTRAP_ARCHITECTURE,
'--variant', BOOTSTRAP_VARIANT,
suite,
root_path,
mirror_location,
]
completed_process = subprocess.run(command, capture_output=True)
return completed_process
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment