Skip to content

Commit

Permalink
Disable network in bash example, since loopback works now
Browse files Browse the repository at this point in the history
  • Loading branch information
ebkalderon committed Nov 25, 2019
1 parent 8a5dedd commit e7e3a32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/bash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fn main() {
.mount(Mapping::from_parts("/dev", "/dev", true).unwrap())
.soft_link("usr/lib64", "/lib64")
.allow_devices(true)
.allow_network(true)
.allow_network(false)
.allow_sysctl(false)
.spawn(&mut Command::new("bash").env_clear())
.expect("Failed to spawn process in sandbox")
Expand Down

0 comments on commit e7e3a32

Please sign in to comment.