lxd/container_lxc.go
func (c *containerLXC) OnNetworkUp(deviceName string, hostName string) error {
	device := c.expandedDevices[deviceName]
	device["host_name"] = hostName
	return c.setupHostVethDevice(device)
}
func (c *containerLXC) OnNetworkUp(deviceName string, hostName string) error {
	device := c.expandedDevices[deviceName]
	device["host_name"] = hostName
	return c.setupHostVethDevice(device)
}
func ( c * containerLXC ) OnNetworkUp ( deviceName string , hostName string ) error { device := c . expandedDevices [ deviceName ] device [ " " ] = hostName return c . setupHostVethDevice ( device ) }
// OnNetworkUp is called by the LXD callhook when the LXC network up script is run.
OnNetworkUp is called by the LXD callhook when the LXC network up script is run .