Public bug reported: 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 ** Affects: cloud-init Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init. https://bugs.launchpad.net/bugs/1812117 Title: route files are not written on SUSE distros Status in cloud-init: New Bug description: 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 To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1812117/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp