|
|
|
@ -93,7 +93,6 @@ func initialize() *daemonState {
|
|
|
|
|
return d
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (d *daemonState) loadConfig() (*oz.Config, error) {
|
|
|
|
|
config, err := oz.LoadConfig(oz.DefaultConfigPath)
|
|
|
|
|
if err != nil {
|
|
|
|
@ -348,7 +347,7 @@ func (d *daemonState) handleNetworkReconfigure() {
|
|
|
|
|
d.log.Error("Unable to reconfigure bridge network: %v", err)
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
/*
|
|
|
|
|
/*
|
|
|
|
|
for _, sbox := range d.sandboxes {
|
|
|
|
|
if sbox.profile.Networking.Nettype == network.TYPE_BRIDGE {
|
|
|
|
|
sbox.network, err := network.PrepareSandboxNetwork(d.network, d.log)
|
|
|
|
@ -363,6 +362,6 @@ func (d *daemonState) handleNetworkReconfigure() {
|
|
|
|
|
// TODO: Reconfigure default gateway inside sandbox
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
*/
|
|
|
|
|
*/
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|