dmacvicar / terraform-provider-libvirt

Terraform provider to provision infrastructure with Linux's KVM using libvirt
Apache License 2.0
1.59k stars 458 forks source link

Network is not setup for openSUSE following examples #827

Closed jordimassaguerpla closed 3 years ago

jordimassaguerpla commented 3 years ago

System Information

Linux distribution

openSUSE Leap 15.2 and Tumbleweed

Terraform version

The issue is in the examples for opensuse in master: https://github.com/dmacvicar/terraform-provider-libvirt/tree/master/examples


Checklist

Description of Issue/Question

Setup

see network_config files for opensuse in https://github.com/dmacvicar/terraform-provider-libvirt/tree/master/examples

Steps to Reproduce Issue

Network is not configured. /etc/sysconfig/network does not contain ifcfg-eth0 file.

However, for tumbleweed, firstboot setup creates the config, so the issue is not visible unless you use the same config with Leap or SLE.


Additional information:

version should be 1 in https://github.com/dmacvicar/terraform-provider-libvirt/blob/master/examples/v0.12/tubleweed/network_config.cfg#L2 .

See https://cloudinit.readthedocs.io/en/latest/topics/network-config-format-v1.html