canonical / canonical/cloud-init
route files are not written on SUSE distros
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 1.1k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 18
Description
This bug was originally filed in Launchpad as [LP: #1812117](https://bugs.launchpad.net/cloud-init/+bug/1812117)
Launchpad details
affected_projects = []
assignee = None
assignee_name = None
date_closed = 2019-05-10T18:07:53.733563+00:00
date_created = 2019-01-16T22:12:53.777056+00:00
date_fix_committed = 2019-03-12T21:08:28.884257+00:00
date_fix_released = 2019-05-10T18:07:53.733563+00:00
id = 1812117
importance = undecided
is_complete = True
lp_url = https://bugs.launchpad.net/cloud-init/+bug/1812117
milestone = None
owner = rjschwei
owner_name = Robert Schweikert
private = False
status = fix_released
submitter = rjschwei
submitter_name = Robert Schweikert
tags = []
duplicates = []
_Launchpad user **Robert Schweikert(rjschwei)** wrote on 2019-01-16T22:12:53.777056+00:00_
On SUSE distros the routes need to be written to ifroute-* files.
At present the sysconfig renderer does not write the default routes to ifroute-* files, rather the default rout information is set in ifcfg-*. However the values DEFROUTE=yes and IPV6_DEFAULTGW have no meaning in SUSE ifcfg-* files and are ignored. The routes for an interface are loaded from the ifroute-* file.
The file content is expected to be in the format
Destination Gateway Netmask Interface Options
The following config shown at https://pastebin.ubuntu.com/p/jjMKVTSK9v/ should produce 3 ifroute-* files
ifroute-eth1
default 10.80.124.81
ifroute-eth2
default 192.168.1.254
ifroute-eth3
default fe80::10:80:124:81
Contributor guide
Assessment
This issue has not been assessed yet.