Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
a79cf704
Commit
a79cf704
authored
Oct 12, 2009
by
Daniel Lezcano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove configure dead code
Remove the old configuration remaining code. Signed-off-by:
Daniel Lezcano
<
dlezcano@fr.ibm.com
>
parent
5e4a62bf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
15 deletions
+0
-15
conf.c
src/lxc/conf.c
+0
-5
conf.h
src/lxc/conf.h
+0
-5
create.c
src/lxc/create.c
+0
-5
No files found.
src/lxc/conf.c
View file @
a79cf704
...
...
@@ -929,11 +929,6 @@ int lxc_conf_init(struct lxc_conf *conf)
return
0
;
}
int
lxc_configure
(
const
char
*
name
,
struct
lxc_conf
*
conf
)
{
return
0
;
}
int
lxc_unconfigure
(
const
char
*
name
)
{
if
(
conf_has_utsname
(
name
)
&&
unconfigure_utsname
(
name
))
...
...
src/lxc/conf.h
View file @
a79cf704
...
...
@@ -147,11 +147,6 @@ struct lxc_conf {
extern
int
lxc_conf_init
(
struct
lxc_conf
*
conf
);
/*
* Configure the external resources for the container
*/
extern
int
lxc_configure
(
const
char
*
name
,
struct
lxc_conf
*
conf
);
/*
* Remove the resources created by the configuration
*/
extern
int
lxc_unconfigure
(
const
char
*
name
);
...
...
src/lxc/create.c
View file @
a79cf704
...
...
@@ -127,11 +127,6 @@ int lxc_create(const char *name, struct lxc_conf *conf)
if
(
lock
<
0
)
goto
err
;
if
(
lxc_configure
(
name
,
conf
))
{
ERROR
(
"failed to set configuration for %s"
,
name
);
goto
err_state
;
}
if
(
conf
->
rcfile
&&
copy_config_file
(
name
,
conf
->
rcfile
))
{
ERROR
(
"failed to copy the configuration file"
);
goto
err_state
;
...
...
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