Commit f9185201 authored by Antoine Catton's avatar Antoine Catton

Fillin the create function in slapos.container.prepare

parent 20420ea6
...@@ -83,12 +83,9 @@ def stop(sr_directory, partition_path, conf): ...@@ -83,12 +83,9 @@ def stop(sr_directory, partition_path, conf):
def create(sr_directory, partition_path, conf): def create(sr_directory, partition_path, conf):
failure = 0 lxc_debian = os.path.join(sr_directory,
'parts/lxc/lib/lxc/templates/lxc-debian')
# TODO : Create container return call([lxc_debian, '-p', partition_path])
return failure
def destroy(partition_path, conf): def destroy(partition_path, conf):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment