Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Eric Zheng
slapos.toolbox
Commits
f9185201
Commit
f9185201
authored
Jul 20, 2012
by
Antoine Catton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fillin the create function in slapos.container.prepare
parent
20420ea6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
slapos/container/prepare.py
slapos/container/prepare.py
+3
-6
No files found.
slapos/container/prepare.py
View file @
f9185201
...
...
@@ -83,12 +83,9 @@ def stop(sr_directory, partition_path, conf):
def
create
(
sr_directory
,
partition_path
,
conf
):
failure
=
0
# TODO : Create container
return
failure
lxc_debian
=
os
.
path
.
join
(
sr_directory
,
'parts/lxc/lib/lxc/templates/lxc-debian'
)
return
call
([
lxc_debian
,
'-p'
,
partition_path
])
def
destroy
(
partition_path
,
conf
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment