Skip to content

Custom variable ROUTES not applied correctly #284

@brodriguez-opennebula

Description

@brodriguez-opennebula

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

Labels

category: context linuxLinux OS contextualization packagessponsoredThis issue is sponsored by user or companystatus: acceptedThe issue is valid and will be planned for fix or implementation

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions