-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove unnecessary cookbook and fix stupid CentOS 7 box issue: hashic…
- Loading branch information
1 parent
a20a4fd
commit c164a1e
Showing
5 changed files
with
10 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
if %w{rhel}.include?(node['platform_family']) and 7 <= node['platform_version'].to_i | ||
# CentOS box stupid bug: | ||
# https://github.com/mitchellh/vagrant/issues/2614#issuecomment-108050799 | ||
bash 'make-fake-nic-detect-rule' do | ||
code "ln -s /dev/null /etc/udev/rules.d/70-persistent-net.rules" | ||
code "rm /etc/udev/rules.d/70-persistent-net.rules | ||
&& ln -sf /dev/null /etc/udev/rules.d/70-persistent-net.rules" | ||
end | ||
end |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.