Commit 9d7f22f5 authored by Heinz N. Gies's avatar Heinz N. Gies

Set iface routes correctly

parent 6edebd91
Pipeline #14219637 passed with stages
in 9 minutes and 42 seconds
......@@ -132,7 +132,7 @@ impl NIC {
)
};
if self.primary {
let route = format!("/sbin/route add default -gateway {}; ", self.gateway);
let route = format!("/sbin/route add default {}; ", self.gateway);
script.push_str(route.as_str())
}
let mut desc = String::from("VNic from jail ");
......
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