-
Notifications
You must be signed in to change notification settings - Fork 22
Labels
category: context linuxLinux OS contextualization packagesLinux OS contextualization packagessponsoredThis issue is sponsored by user or companyThis issue is sponsored by user or companystatus: acceptedThe issue is valid and will be planned for fix or implementationThe issue is valid and will be planned for fix or implementation
Description
Currently, the variable ROUTES belongs to the VM context and not to the network interface variable.
Custom routes are never read because of https://github.com/OpenNebula/one-apps/blob/master/context-linux/src/etc/one-context.d/loc-10-network.d/functions#L536
export static_routes=$(get_iface_var "$1" "ROUTES")
The quickest solution is changing the line for
static_routes=${ROUTES}
This sets up the custom routes correctly
Metadata
Metadata
Assignees
Labels
category: context linuxLinux OS contextualization packagesLinux OS contextualization packagessponsoredThis issue is sponsored by user or companyThis issue is sponsored by user or companystatus: acceptedThe issue is valid and will be planned for fix or implementationThe issue is valid and will be planned for fix or implementation