diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-10-26 16:30:57 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-10-26 16:31:43 -0700 |
commit | ab39c46259f06c5343ef1db6873e137b7ae9af49 (patch) | |
tree | 06a683ceff1a2cb83870f1650a16d11975603f83 /kitchen-tests | |
parent | ed67cb7fad4c000dc791695602daa2f4c9d13b97 (diff) | |
download | chef-ab39c46259f06c5343ef1db6873e137b7ae9af49.tar.gz |
ifconfig is not compatible with Fedora 33 or later
This resource only works with the legacy redhat /etc/networks configuration format. That format was slapped onto NetworkManager when RHEL moved off legacy init scripts. Fedora 33 switches to the keyfile format so this resource no longer works on those systems. Stop testing it there and add a note to the resource description so we get that up on the docs site.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'kitchen-tests')
-rw-r--r-- | kitchen-tests/cookbooks/end_to_end/recipes/_ifconfig.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/_ifconfig.rb b/kitchen-tests/cookbooks/end_to_end/recipes/_ifconfig.rb index 149b2cb65c..2a02636ac2 100644 --- a/kitchen-tests/cookbooks/end_to_end/recipes/_ifconfig.rb +++ b/kitchen-tests/cookbooks/end_to_end/recipes/_ifconfig.rb @@ -1,3 +1,5 @@ +return if fedora? && node["platform_version"] >= "33" # ifconfig does not support the new network manager keyfile format + execute "create virtual interface for testing" do command "ifconfig eth0:0 123.123.22.22" end |