Commit 64af1b62 authored by Lennart Poettering's avatar Lennart Poettering
Browse files

nspawn: we don't want a network namespace

parent 90df7e56
......@@ -383,7 +383,7 @@ int main(int argc, char *argv[]) {
log_info("Spawning namespace container on %s.", arg_directory);
if ((pid = syscall(__NR_clone, SIGCHLD|CLONE_NEWIPC|CLONE_NEWNS|CLONE_NEWPID|CLONE_NEWUTS|CLONE_NEWNET, NULL)) < 0) {
if ((pid = syscall(__NR_clone, SIGCHLD|CLONE_NEWIPC|CLONE_NEWNS|CLONE_NEWPID|CLONE_NEWUTS, NULL)) < 0) {
log_error("clone() failed: %m");
goto finish;
}
......
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